MIME type of the File? RRS feed

  • Question

  • Hi ..
           I need to get the video / audio file names that are available inside the given folder(for the moment "\storage card\"). I m thinking that checking the extension of the file will not be the proper solution. I m using the Smart Device Project of Visual Studio 2005. Is there anyway to get the MIME type of the FILE ?
    Tuesday, October 27, 2009 9:08 AM


  • Hi,

    A reliable way to find MIME file, in case of spoofed file extension?
    As far as I know there is no ready for use API on smart device to check if a file is MIME. You can parse file, but you must consider all the possible MIME types, which makes it much more complex.

    • Marked as answer by warrentang Monday, November 2, 2009 2:22 AM
    Thursday, October 29, 2009 10:29 AM