Using C# how can I test a file is a jpeg? Should I check for a .jpg extension?
Thanks
Once you have the extension you could use a regular expression to validate it.
^.*\.(jpg|JPG)$