[
  {
    "Id": "105863",
    "ThreadId": "31865",
    "Html": "Hi, is there a way to obtain the file type from a file in an archive when extracting it?\r\n",
    "PostedDate": "2008-07-20T11:33:10.287-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "106124",
    "ThreadId": "31865",
    "Html": "What do you mean &quot;type of the file.&quot;&nbsp; ?&nbsp; <br>\r\nYou get the name, the size, the last modified time, and so on.&nbsp; <br>\r\nThe filename includes the file extension, if that's what you mean.\r\n",
    "PostedDate": "2008-07-21T17:22:00.31-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "106181",
    "ThreadId": "31865",
    "Html": "the type of file like you get with the .net FileUpload object, i.e. &quot;application/pdf&quot;\r\n",
    "PostedDate": "2008-07-22T00:47:29.007-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "106345",
    "ThreadId": "31865",
    "Html": "That information is not stored in the zip file, so it is not available to the application. <br>\r\nSorry! <br>\r\n<br>\r\nI should add, if you would like to find the content type of the file, you can look in the registry, under<br>\r\nComputer\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\MIME\\Database\\Content Type<br>\r\n<br>\r\nThere you will find a list of content-types and the extensions that are mapped to them. <br>\r\nUsing the Registry classes, you could build some logic that scans that list and returns the content-type for the extesion you find. <br>\r\n<br>\r\nKeep in mind this means the mapping is different for each machine. It varies depending on the applications that are installed on it.&nbsp; If you have photoshop installed on a machine, then the registry will contain a content-type mapping for the photoshop format.&nbsp; I don't have PhotoShop, so I don't&nbsp; have that mapping in the registry on my machine.\r\n",
    "PostedDate": "2008-07-22T14:01:55.057-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "106449",
    "ThreadId": "31865",
    "Html": "Thanks very much for the response.\r\n",
    "PostedDate": "2008-07-23T00:21:10.49-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]