Finding MP3 length in C#

c#, mp3

Solution

TagLib# exposes this information TagLib.File.Properties.Duration

Problem

I'm using TagLib# to get ID3 tag data from some MP3s, but what I can't seem to do is find the length of the MP3. How can I find the length of an MP3 in C#?

Original source

Related problems