how to get file properties?
问题 I want an application which displays the some file properties of a mediafile if available, like (don't know the exact english words used in windows for it) FileName, Length/Duration, FileType(.avi .mp3 etc.) I tried taglib and windowsapishell but I dont get a working result (references are good) ShellFile so = ShellFile.FromFilePath(file); so.Properties.System.(everythingIwant) shows me a lot of file properties which I want to have displayed, but I cant get it working An example of an error: