I want to make sample WinForm C# app for hunting duplicate photos on my laptop.
My question is is there some record, tag ,Exif data or anything else which is unique for JPG(photo) file.
So I can read that data put into data set and hunt for duplicates.
We could say Exif data is unique. This table gives you a good resume of what to get from Exif Data: http://en.wikipedia.org/wiki/Exchangeable_image_file_format#Example
Look at this project, sure the code will help you:
In this stackoveflow question, there is a good answer to get Exif data:
"If you're compiling against v3 of the Framework (or later), then you can load the images using the BitmapSource class, which exposes the EXIF metadata through the Metadata property"
Nevertheless, I would compare name and date, and it must be enough.