I want to overwrite the System.Photo.DateTaken value. This is my method: private async void EditMetadata(uint rateNumber, DateTime newDate) { var memStream = new Windows.Storage.Streams.InMemoryRandomAccessStream(); var encoder = await Windows.Graphics.Imaging.BitmapEncoder.CreateForTranscodingAsync(memStream, _decoder); var propertySet = new Windows.Graphics.Imaging.BitmapPropertySet(); var ratingValue = new Windows.Graphics.Imaging.BitmapTypedValue(rateNumber, Windows.Foundation.PropertyType.UInt32); try { var dateValue = new Windows.Graphics.Imaging.BitmapTypedValue(newDate, Windows.Foundation.PropertyType.DateTime); } [...] read more