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.
Asked
Active
Viewed 1.7k times
2 Answers
1
For audio formats, have a look at TagLib Sharp.

R. Martinho Fernandes
- 228,013
- 71
- 433
- 510
-
-
@Muad'Dib: Originally the question didn't mention images. "different types" could mean just different audio formats... – R. Martinho Fernandes Apr 13 '10 at 22:55
-
true, he didn't say images, but he also didn't specify WHAT kind of files, and DID say "different types of files." he DID use mp3 as an example, tho – Muad'Dib Apr 13 '10 at 23:12
1
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.

Muad'Dib
- 28,542
- 5
- 55
- 68