How to get metadata from file in C#? [duplicate]
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.
精彩评论