Using C# how can I test a file is a jpeg? Should I check for a .jpg extension?
Thanks
You could find documentation on the jpeg file format, specifically the header information. Then try to read this information from the file and compare it to the expected jpeg header bytes.