How to convert wav file to mp3 in memory?
问题 I have an application written using c# on the top of Asp.Net MVC 5 framework. My objective is to make a call to 3rd party service to download a wave file. Then I want to convert this file into mp3. Finally, I want to return the mp3 file as (byte[]) to allow the user to download it directly from memory. Here is how my code will end up which allow the user to download the converted file from the memory public ActionResult Download(int? id) { // Download and convert the file // the variable