How to get the length (duration) of a media ( audio MP3 ) File in C#

Last Reply on Jul 03, 2013 02:24 AM By Mudassar

Posted on Jul 03, 2013 02:24 AM

hai,

i am geting some mp3 files, i need to get the duration of that file.

i used  the length attribute but it is not giving correct value.

pls guide me.

 

thanking u,

vidhya

You are viewing reply posted by: Mudassar on Jul 03, 2013 02:24 AM.
Posted on Jul 03, 2013 02:24 AM

Refer

http://www.codeproject.com/Articles/43208/How-to-get-the-length-duration-of-a-media-File-in