MP3File Class

Reads, writes or removes the tags (ID3v1, ID3v2, APEv2) of a MP3 file.

Definition

Namespace: DevCase.ThirdParty.TagLibSharp
Assembly: DevCase.net48.ThirdParty.TagLibSharp (in DevCase.net48.ThirdParty.TagLibSharp.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class MP3File : IDisposable
Inheritance
Object    MP3File
Implements
IDisposable

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

https://www.nuget.org/packages/TagLibSharp

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Constructors

MP3File(AudioFile) Initializes a new instance of the MP3File class.
MP3File(FileInfo) Initializes a new instance of the MP3File class.
MP3File(String) Initializes a new instance of the MP3File class.

Properties

CorruptionReasons Gets the reasons, if any, for which the file is corrupt.
Cover Gets or sets the cover of the audio file.
File Gets the audio file.
IsCorrupt Gets a value indicating whether the audio file is possibly corrupt.
IsWriteable Gets a value indicating whether the tags can be written or not in the audio file.
Lyrics Gets or sets the lyrics of the audio file.
Tags Gets the MP3 tags.
TagTypes Gets the tag types of the audio file (Id3v1, Id3v2, APE, etc).

Methods

Dispose Releases all the resources used by this instance.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
SaveFile Saves any tag modifications to the audio file.
ToString Returns a string that represents the current object.
(Inherited from Object)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also