I'm creating a small app and I was playing around with the Containers trying to create a little custom container to store some file paths.
var container = ApplicationData.Current.LocalSettings.CreateContainer("SomeContainerName", ApplicationDataCreateDisposition.Always);
if (container.Values.ContainsKey("C:\\Some_Fake_Path") == false) // <--- This says that the object is in the container, even though I checked and it is not. This only happens in the string starts with some kind of file path
Also if I add a key in there that has a file path I get the following error:
An unhandled exception of type 'System.Exception' occurred in mscorlib.dll
WinRT information: Error trying to query the application data container item info
Additional information: The specified path is invalid.
I checked the documentation, and nowhere did I find anything about file path's not being allowed as keys.