I have a WebAPI consuming an MP3 file as an IFormFile. I am able to save the file with no issue but I want to get the duration of the file in minutes and seconds before Saving it to Disk. Is it possible to achieve this?
Asked
Active
Viewed 392 times
0
-
"before Saving it to Disk": why not read duration from the stream like [this thread](https://stackoverflow.com/a/13269914/10091607)? – itminus Feb 10 '20 at 05:28
-
@itminus will give it a try and report back – Shane Feb 10 '20 at 11:00