Click here to Skip to main content
15,887,350 members
Articles / Desktop Programming / Win32

How to get the length (duration) of a media File in C# on Windows 7

Rate me:
Please Sign up or sign in to vote.
4.50/5 (6 votes)
26 Oct 2009CPOL2 min read 113.9K   26  
If you have ever looked at a media file (audio or video) in explorer on a Windows 7 PC, you may have noticed that it displays additional information about that media file that previous versions of Windows didn't seem to have access to, for example the length/duration of a Quicktime Movie Clip.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Salem Web Network
United States United States
Robert Williams has been programming web sites since 1996 and employed as .NET developer since its release in 2002.

Comments and Discussions