Determine the file type using C#
<p>I have a web page that has the file upload component to upload the allowed document types only to my system (images only). I don't want to use the regular expression to determine the file type and using the extension.</p>

<p>Please let me know if there is any other means of determining file types in C#.</p>
