how to identify the extension/type of the file using C# ?

Posted by Anil Namde on Stack Overflow See other posts from Stack Overflow or by Anil Namde
Published on 2010-05-13T12:46:14Z Indexed on 2010/05/13 12:54 UTC
Read the original article Hit count: 190

Filed under:

i have a workflow where user is allowed to upload any file and then that file will be read.

Now my question is if user have image file xyz.jpg and he renamed it to xyz only (extension removed) in this can we still get the type/extension of the file using/reading files data/metadata.

Thanks all

© Stack Overflow or respective owner

Related posts about c#