Well without knowing exactly what you want to do all I can offer is my code.
You create a TagLib
File object from the actual mp3 file. This reads the file and extracts the tag data:
TagLib.File tagFile = TagLib.File.Create(track); // track is the name of the mp3
Then to get a tag value:
uint year = tagFile.Tag.Year;
You set the tags like this:
tagFile.Tag.Year = year;
and then save the changes:
tagFile.Save();
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…