问题
How can I parse an MP3 file to get its all attributes? Also how to edit and the attributes of the MP3 file? Is there any class available in .NET v4.0?
回答1:
Those attributes are called ID3 tags. I do not think it is the scope of the .NET framework to provide reading them.
Here is some code from SourceForge.
http://sourceforge.net/projects/csid3lib/
回答2:
You might have a look at the taglib library for .NET. It can do both reading and writing of id3 tags among other things.
来源:https://stackoverflow.com/questions/1492507/parse-mp3-file-in-net-v4-0