Using Shell32 to extract Mimes on Windows Server 2008

Posted by Léon Pelletier on Server Fault See other posts from Server Fault or by Léon Pelletier
Published on 2012-06-17T17:12:18Z Indexed on 2012/06/17 21:18 UTC
Read the original article Hit count: 231

In a desktop app, I'm using Shell32 to extract Mime infos and ID3 tags.

I want to do the same in ASP.Net on server side with http posted files, plus fetch some other infos, but as a Windows Server 2008, there are not several media applications installed, so I wonder if it will still retrieve a lot of informations from the files.

Will it be possible to do it from server side? If yes, will it fetch several Mimes without media app installed. If not, is there some Mime pack to get some file informations without the app being installed.

[EDIT]

I installed VLC player and Windows Media Player on the server, which provide all MP3s / movies infos (Duration, Artist, Album, Width, Height, etc.), but I don't know if this is a good practice.

© Server Fault or respective owner

Related posts about windows-server-2008-r2

Related posts about ASP.NET