I have a json file in one of the folder of source code which was being fetched using GetFileFromApplicationUriAsync
function of StorageFile
class of C#. This code was working until latest security patch was installed (03 March 2019).
Below is the piece of code :
string location = "link to the folder"
StorageFile file = await StorageFile.GetFileFromApplicationUriAsync(new Uri(location));
After latest security patch update the above code stopped working resulting in
Value does not fall within the expected range
Could anyone please let me know the reason for this exception? Has implementation changed after update?