Exemple #1
0
 private void SetTagFields(ID3v2 id3tag)
 {
     id3tag.SetTrack("1");
     id3tag.SetArtist("ARTIST");
     id3tag.SetTitle("TITLE");
     id3tag.SetAlbum("ALBUM");
     id3tag.SetYear("1954");
     id3tag.SetGenre(unchecked((int)(0x0d)));
     id3tag.SetComment("COMMENT");
     id3tag.SetComposer("COMPOSER");
     id3tag.SetOriginalArtist("ORIGINALARTIST");
     id3tag.SetCopyright("COPYRIGHT");
     id3tag.SetUrl("URL");
     id3tag.SetEncoder("ENCODER");
     byte[] albumImage = TestHelper.LoadFile("Resources/image.png");
     id3tag.SetAlbumImage(albumImage, "image/png");
 }