Search code examples
.netwpfsystem.io.fileinfo

Get file details like title name


So I'm Building a search class, I need to get the title ("Titel" in picture) out from these files(see pic). enter image description here

Currently I'm getting the "Navn" from FileInfo.Name Can anyone help?


Solution

  • These are ID3 tags and cannot be queried using FileInfo.

    You might use a library like TagLibSharp: see: View/edit ID3 data for MP3 files