Is it possible to change the file creation date or the date the file was last written from managed code in WP8?
I can read date stamps using FileInfo, but these properties are read-only. Using native code, it seems like I can use the SetFileInformationByHandle api. My project uses native code, so I can add a little helper function, but that seems like a lot of killing.
Reason: I have a multiplayer online game (4sFear) that allows people to upload their own avatars. Currently, I just set the image source to the avatar http address, but I would like to be a little smart and cache images locally. I can return the last time an avatar was updated before it needs to be displayed. I know that I can store dates when avatars were updated separately, but it makes sense that I just need to set the last date the file was recorded after it was created.
source share