private static void DisplayExif(ExifNET.Exif exif) { foreach (var property in exif.GetType().GetProperties()) { System.Console.WriteLine("\t{0}={1}", property.Name, property.GetValue(exif, null)); } }
private static void DisplayFileExif(string file) { using (var image = Image.FromFile(file)) { var exif = new ExifNET.Exif(image.PropertyItems); DisplayExif(exif); } }