Getting specific file attributes
I've got a simple WCF service that lets clients/consumers upload image, audio or video files to it. After the upload, the service is supposed to analyze the file and somehow retrieve the following attributes: Image: width, height, date taken, program used Audio: runtime, artist, album, genre, bitrate, publication year Video: runtime, width, height, frames/sec, video bitrate, audio bitrate Apparently Windows can get and display these attributes pretty easily, but how do I do it in C#? Khepri Courtesty of this thread. I've verified this gets all file attributes including the extended attributes.