title: UWP: Strange behavior of ImageProperties on the local machine and on the emulator
body: <p>I'm trying to get Exif information from JPG and CR2 files.</p>
  
  <pre><code>        var file1 = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///Images/IMG_3163.JPG"));
          var file2 = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///Images/IMG_3163.CR2"));
          await GetExifValues(file1);
          await GetExifValues(file2);
  
      public async Task GetExifValues(StorageFile file_)
      {
          ImageProperties props = await file_.Properties.GetImagePropertiesAsync();
          var requests = new System.Collections.Generic.List&lt;string&gt;();
          requests.Add("System.Photo.DateTaken");
          requests.Add("System.Photo.FNumber");
          requests.Add("System.Photo.ExposureTimeNumerator");
          requests.Add("System.Photo.ExposureTimeDenominator");
          requests.Add("System.Photo.ISOSpeed");
          requests.Add("System.Photo.Orientation");
  
          IDictionary&lt;string, object&gt; retrievedProps = await props.RetrievePropertiesAsync(requests);
  
          Debug.WriteLine("Parsing Exif from: " + file_.Path.ToString());
  
          if (retrievedProps.ContainsKey("System.Photo.DateTaken")) Debug.WriteLine("Exif_DateTaken: " + (DateTimeOffset)retrievedProps["System.Photo.DateTaken"]);
          if (retrievedProps.ContainsKey("System.Photo.FNumber")) Debug.WriteLine("Exif_FNumber: " + (double)retrievedProps["System.Photo.FNumber"]);
          if (retrievedProps.ContainsKey("System.Photo.ExposureTimeNumerator")) Debug.WriteLine("Exif_ExposureTimeNumerator: " + (uint)retrievedProps["System.Photo.ExposureTimeNumerator"]);
          if (retrievedProps.ContainsKey("System.Photo.ExposureTimeDenominator")) Debug.WriteLine("Exif_ExposureTimeDenominator: " + (uint)retrievedProps["System.Photo.ExposureTimeDenominator"]);
          if (retrievedProps.ContainsKey("System.Photo.ISOSpeed")) Debug.WriteLine("Exif_ISOSpeed: " + (ushort)retrievedProps["System.Photo.ISOSpeed"]);
          if (retrievedProps.ContainsKey("System.Photo.Orientation")) Debug.WriteLine("Exif_Orientation: " + (ushort)retrievedProps["System.Photo.Orientation"]);
  
          Debug.WriteLine("_______________________________");
      }
  </code></pre>
  
  <p>When debugging on a local machine, everything works as it should:</p>
  
  <pre><code>Parsing Exif from: C:\Data\SharedData\PhoneTools\AppxLayouts\72787847-7999-4ce9-8ad2-72f637364ff9VS.Debug_x86.smith\Images\IMG_3163.JPG
  Exif_DateTaken: 6/19/2017 11:19:09 AM +03:00
  Exif_FNumber: 2.8
  Exif_ExposureTimeNumerator: 1
  Exif_ExposureTimeDenominator: 250
  Exif_ISOSpeed: 2000
  Exif_Orientation: 1
  _______________________________
  Parsing Exif from: C:\Data\SharedData\PhoneTools\AppxLayouts\72787847-7999-4ce9-8ad2-72f637364ff9VS.Debug_x86.smith\Images\IMG_3163.CR2
  Exif_DateTaken: 6/19/2017 11:19:09 AM +03:00
  Exif_FNumber: 2.8
  Exif_ExposureTimeNumerator: 1
  Exif_ExposureTimeDenominator: 250
  Exif_ISOSpeed: 2000
  Exif_Orientation: 1
  _______________________________
  </code></pre>
  
  <p>But if it is run on a mobile emulator or on the phone, information is not extracted from the CR2 file.</p>
  
  <pre><code>    Parsing Exif from: C:\Data\SharedData\PhoneTools\AppxLayouts\72787847-7999-4ce9-8ad2-72f637364ff9VS.Debug_x86.smith\Images\IMG_3163.JPG
      Exif_DateTaken: 6/19/2017 11:19:09 AM +03:00
      Exif_FNumber: 2.8
      Exif_ExposureTimeNumerator: 1
      Exif_ExposureTimeDenominator: 250
      Exif_ISOSpeed: 2000
      Exif_Orientation: 1
      _______________________________
      Parsing Exif from: C:\Data\SharedData\PhoneTools\AppxLayouts\72787847-7999-4ce9-8ad2-72f637364ff9VS.Debug_x86.smith\Images\IMG_3163.CR2
      ...results should be here...
      _______________________________
  </code></pre>
  
  <p>Thus, the same simple code gives different results on the mobile emulator/device and on the local machine. What's wrong here? It seems the Universal Windows Platform is not so universal ...?</p>