How to find if a file is an exe ?

Posted by Praveen on Stack Overflow See other posts from Stack Overflow or by Praveen
Published on 2010-05-19T07:46:42Z Indexed on 2010/05/19 8:10 UTC
Read the original article Hit count: 204

Filed under:

How can I be sure that a file passed to my program is a valid exe file ?

actually my program takes a file as input and runs it, but user can input any file so I have to make sure that the input is a valid exe.

© Stack Overflow or respective owner

Related posts about c#