A while back I was looking for an API to determine content types. One API that I found useful was the FindMimeFromData API. You cane give this method the first 256 bytes of a file and then determine its MIME types (eg. text/plain, text/html, binary content,
Read More...