Type Default Value Read Only Static Description
Byte[] None Yes No The byte sequence of all the Exif data.

This property allows you to access the raw Exif data as it was stored in the file.

For details of the way in which Exif data can be parsed, please refer to http://www.exif.org.



XImageLoadOptions loadOptions = new XImageLoadOptions();
loadOptions.ReadExif = true;
XImage image = XImage.FromFile(Server.MapPath("rez/myexif.jpg"), loadOptions);
if (image.Exif != null) {
  byte[] bytes = image.Exif.All;
  // parse bytes...

[Visual Basic]

Dim loadOptions As New XImageLoadOptions()
loadOptions.ReadExif = True
Dim image As XImage = XImage.FromFile(Server.MapPath("rez/myexif.jpg"), loadOptions)
If image.Exif IsNot Nothing Then
  ' parse bytes...
  Dim bytes As Byte() = image.Exif.All
End If

This example illustrates how to get the raw exif data for your own parser.