ApeV2

MP3RootPackage.ApeV2 property

Gets the APE v2 metadata.

public ApePackage ApeV2 { get; }

Property Value

The APE v2 metadata.

Examples

This example demonstrates how to read the APEv2 tag in an MP3 file.

using (Metadata metadata = new Metadata(Constants.MP3WithApe))
{
    var root = metadata.GetRootPackage<MP3RootPackage>();

    if (root.ApeV2 != null)
    {
        Console.WriteLine(root.ApeV2.Album);
        Console.WriteLine(root.ApeV2.Title);
        Console.WriteLine(root.ApeV2.Artist);
        Console.WriteLine(root.ApeV2.Composer);
        Console.WriteLine(root.ApeV2.Copyright);
        Console.WriteLine(root.ApeV2.Genre);
        Console.WriteLine(root.ApeV2.Language);

        // ...
    }
}

See Also