I have taken out the related code from the app and put it together as following:
try
{
StorageFolder sf = await ApplicationData.Current.LocalFolder.CreateFolderAsync("Temp", CreationCollisionOption.ReplaceExisting);
await sfFile.CopyAsync(sf);
}
catch(Exception ex)
{
}
where sfFile has the following:
Path = "E:\\Temp\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaasdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdddfffffffffffffffffffdddddddddddddddddddddddddddddddddddddddddd.png"
Hong
No comments:
Post a Comment