C# Class Achamenes.ID3.V1.ID3v1Tag

显示文件 Open project: sahands/a-id3 Class Usage Examples

Public Methods

Method Description
FromV2Tag ( TagBase tag, IGenreManager genreManager ) : ID3v1Tag
ID3v1Tag ( ) : System
ReadFromFile ( string fileName ) : bool

Reads the ID3 v1.0 or v1.1 tag information attached to a given file.

WriteToFile ( string filename ) : void

Writes the information provided in the TagInformation object to the given file in ID3v1.1 format.

Private Methods

Method Description
ReadFromFile ( FileStream stream ) : bool

Reads the ID3 v1.0 or v1.1 tag attached to a file from a given FileStream.

WriteToFile ( FileStream stream ) : void

Writes the information provided in the TagInformation object to the given FileStream in ID3v1.1 format.

Method Details

FromV2Tag() public static method

public static FromV2Tag ( TagBase tag, IGenreManager genreManager ) : ID3v1Tag
tag TagBase
genreManager IGenreManager
return ID3v1Tag

ID3v1Tag() public method

public ID3v1Tag ( ) : System
return System

ReadFromFile() public method

Reads the ID3 v1.0 or v1.1 tag information attached to a given file.
public ReadFromFile ( string fileName ) : bool
fileName string Name of the target file to read from.
return bool

WriteToFile() public method

Writes the information provided in the TagInformation object to the given file in ID3v1.1 format.
public WriteToFile ( string filename ) : void
filename string The name of the target file.
return void