how can we check filetypes (formats such as jpg) without using file extensions before _-uploading t

Posted by LostLord on Stack Overflow See other posts from Stack Overflow or by LostLord
Published on 2010-03-14T00:33:22Z Indexed on 2010/03/14 0:35 UTC
Read the original article Hit count: 347

Filed under:
|
|
|
|

hi my dear friends:

how can we check filetypes (formats such as jpg) without using file extensions before -uploading them- in asp.net with c# ?

i am using vs 2008 + asp.net + c# + TELERIK Controls (RadUpload)

=========================================================================================

imagine that some body change the text file extension to jpg and select in in a upload conrol such as radupload ...

how can we recognize this file is truly jpg or not?

thanks a lot

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#