Results 1 to 3 of 3

Thread: [2.0] ID3 tags access with C#

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849

    Question [2.0] ID3 tags access with C#

    Hello!

    Anyone has any idea of how to access ID3 information which is in mp3 files
    using C#?

    And is that information the same in wma files and other audio files?

    thanks!!

    Dekel C.

  2. #2
    Fanatic Member
    Join Date
    May 2001
    Posts
    837

    Re: [2.0] ID3 tags access with C#

    if you can find a document describing the ID3 format then you can either use a BinaryReader or possibly create a structure much like you would declare a structure for Win32 API calls when there is no .NET equivalent. I think it's the Layout attribute that tells .NET not to rearrange the order of the data items in the structure, but I'd have to check on that. Then you would use unsafe pointers to load a byte array of the ID3 data directly into an instance of the structure. I don't know what other file formats look like. You should search for documentation on them too.
    The human brain cannot hold all of the knowledge that exists in this world, but it can hold pointers to that knowledge.

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2.0] ID3 tags access with C#

    Quote Originally Posted by dekelc
    Anyone has any idea of how to access ID3 information which is in mp3 files
    using C#?
    Yeah. Google:

    http://msdn.microsoft.com/library/de...start_page.asp

    and MSDN:

    http://search.msdn.microsoft.com/sea...ead+music+tags
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width