Don't reinvent the wheel. Use an external library such as NAudio to do the hard work.
- NAudio is available at CodePlex.
You can use it like this:
Mp3FileReader reader = new Mp3FileReader("<YourMP3>.mp3");
TimeSpan duration = reader.TotalTime;
Of course, an alternative would be this answer.