Hi all,
I'd like to add my little contribution to this wonderful project, so here comes ExiftoolWrapper, a .NET dll with source code (C#), to bring a step closer exiftool to .NET developers.
The main goal was to use the "-stay_open” flag in the most transparent way.
The simplest usage example would be:
#using BBCSharp;
using(ExifToolWrapper extw = new ExifToolWrapper())
{
extw.Start();
Dictionary<string, string> d = extw.FetchExifFrom(@"d:\Temp\D800-DSC_8059.NEF");
}
The dictionary above will contain all data exfitool can extract. The Start method loads exiftool(-k).exe (must be in your application's startup folder in case of the parameterless constructor), Dispose will stop it. Start needs some time, so this approach is advised when you need to extract exif from multiple files.
Binary and source code are free to use in any way you like (though I'll appreciate an email just to let me know).
After download please replace the empty exiftool(-k).exe files in the archive with the real one, posting the full zip (around 7MB) fails.
PH Edit: See this post for the most recent version of the wrapper.