开发者

How to get metadata from file in C#? [duplicate]

开发者 https://www.devze.com 2022-12-26 23:43 出处:网络
This question already 开发者_如何转开发has answers here: Read/Write 'Extended' file properties (C#)
This question already 开发者_如何转开发has answers here: Read/Write 'Extended' file properties (C#) (10 answers) Closed 7 years ago.

For example I have a file '1.mp3', metadata are length, codec, compositor, license, bitrate, etc How can I get that metadata? I want to get metadata from different types of files.


For audio formats, have a look at TagLib Sharp.


The way that you get meta-data depends on the file type. For example, the metadata in an MP3 is stored differently then, say, a JPEG image.

0

精彩评论

暂无评论...
验证码 换一张
取 消