Using C# how can I test a file is a jpeg? Should I check for a .jpg extension?
Thanks
You can use the Path.GetExtension Method.