News0 min ago
MP3 id3 tags in VB.NET
Answers
No best answer has yet been selected by Potatoman. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.Seeing as a string is basically an array of chars (with some extra bits bolted on to the class) and a char is essentially a byte (actually, in .net everything character based is stored internally as Unicode, so that's nearly a lie..), you could use either.
I'd go for byte array myself though as mp3s are a binary file, not text.
You'd read the info in by using structs (I think these are records in vb.net) to structure the information you require (ie, the structure of an ID3v1 or ID3v2 tag) and then use a BinaryReader to read the info in.
Some source code to study :
http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=866&lngWId=10
Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.