how can i access metadata from mp3 such as artist name,album name etc using c#

i want to acsess the music libraryand then search for its metadata

You should use TagLibSharp (just google “TagLibSharp dll download”)

Then put .dll in Plugins folder

using TagLib;
using System.IO;

public RawImage rawImage;
private void ReadMetadata(string path)
    var tfile = TagLib.File.Create(path);
    //get metadata
    string title = tfile.Tag.Title;
    string album = tfile.Tag.Album;
    System.TimeSpan duration = tfile.Properties.Duration;

    // Load you image data in MemoryStream
    TagLib.IPicture pic = tfile.Tag.Pictures[0];
    MemoryStream ms = new MemoryStream(pic.Data.Data);
    ms.Seek(0, SeekOrigin.Begin);

    //Create texture2d with MemoryStream 
    Texture2D tex = new Texture2D(2, 2);

    /// assign to a RawImage
    rawImage.texture = tex;