是否有在C#中读取和写入ID3标签到MP3库?
Is there a library for reading and writing ID3 tags to an MP3 in C#?
其实我已经看到搜索时一对夫妇,用任何可以被推荐人?
I've actually seen a couple when searching, anybody using any that can be recommended?
标签库#是最好的。这是标签库C库的C#直接端口。
Taglib# is the best. It's direct port of the TagLib C library to C#.
要安装的TagLib#,在Visual Studio中运行的程序包管理器控制台下面的命令。
To install TagLib#, run the following command in the Package Manager Console in Visual Studio.
PM> Install-Package taglib
的标签库 - 夏普的NuGet分布在 http://nuget.org/packages/taglib 被发现。 该官方消息code库是 https://github.com/mono/taglib-sharp 。
The NuGet distribution of taglib-sharp can be found at http://nuget.org/packages/taglib. The official source code repository is at https://github.com/mono/taglib-sharp.
下面是一个使用库的例子:
Here's an example using the library:
TagLib.File file = TagLib.File.Create("mysong.mp3");
String title = file.Tag.Title;
String album = file.Tag.Album;
String length = file.Properties.Duration.ToString();