Table of Contents

Class Id3v2Tag

Namespace
NAudio.Wave
Assembly
NAudio.Core.dll

An ID3v2 Tag

public class Id3v2Tag
Inheritance
Id3v2Tag
Inherited Members

Properties

RawData

Raw data from this tag

public byte[] RawData { get; }

Property Value

byte[]

Methods

Create(IEnumerable<KeyValuePair<string, string>>)

Creates a new ID3v2 tag from a collection of key-value pairs.

public static Id3v2Tag Create(IEnumerable<KeyValuePair<string, string>> tags)

Parameters

tags IEnumerable<KeyValuePair<string, string>>

A collection of key-value pairs containing the tags to include in the ID3v2 tag.

Returns

Id3v2Tag

A new ID3v2 tag

ReadTag(Stream)

Reads an ID3v2 tag from a stream

public static Id3v2Tag ReadTag(Stream input)

Parameters

input Stream

Returns

Id3v2Tag

TrySkipTag(Stream)

Attempts to skip an ID3v2 tag at the current position in the stream.

public static bool TrySkipTag(Stream input)

Parameters

input Stream

The stream to read from.

Returns

bool

True if an ID3v2 tag was found and skipped, false otherwise.