MediaNativeField Class

Represents a frame, item or attribute of a tag that MediaTagInfo has no property for, as stored in the file.

public sealed class MediaNativeField

Remarks

The meaning of MediaNativeField.Id, MediaNativeField.Data and MediaNativeField.Flags depends on MediaNativeField.TagType:

Tag typeId, data and flags
MediaTagType.Id3v2The four-character ID3v2.4 frame identifier, such as PRIV or UFID, the content of the frame, and the ID3v2.4 frame flags. When the flags mark the frame as encrypted, the data is the content as stored.
MediaTagType.Mp4The four-character type of the item, such as ©too or pgap, and the content of the item atom: its data atoms, headers included. The flags must be 0.
MediaTagType.ApeThe key of the item, its value, and the item flags: binary (2) or external link (4), and read-only (1).
MediaTagType.AsfThe name of the attribute, its value, and its data type: byte array (1), boolean (2, stored as a 32-bit value of 0 or 1), 32-bit (3), 64-bit (4) or 16-bit (5) little-endian integer, or GUID (6).

Constructors

NameDescription
MediaNativeField()

MediaNativeField()

MediaNativeField.cs
  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public MediaNativeField()

No documentation is available.

Properties

NameDescription
DataGets the content of the field, as stored.
FlagsGets the flags or the data type of the field. Their meaning depends on MediaNativeField.TagType.
IdGets the identifier of the field: a frame identifier, an atom type, an item key or an attribute name.
TagTypeGets the tag format this field belongs to.

Gets the content of the field, as stored.

public byte[] Data { get; init; }

Property value

byte[]

Gets the flags or the data type of the field. Their meaning depends on MediaNativeField.TagType.

public int Flags { get; init; }

Property value

int

Gets the identifier of the field: a frame identifier, an atom type, an item key or an attribute name.

public required string Id { get; init; }

Property value

string

Gets the tag format this field belongs to.

public required MediaTagType TagType { get; init; }

Property value

MediaTagType