Hello Friends I'm using Silverlight in my asp.net application.
I'm trying to create a folder in my local hard drive "D" using IsolatedStorageFile.
It is creating the directory when I give only Directory Name but I'm not getting where it exists.
And, when I give complete path "D:/Manish/ManishNewFolder" then it is raising an error Unable to create a directory.
string fileName = "D:/ManishNewFolder";
var store = IsolatedStorageFile.GetUserStoreForApplication();
var isoStream = store.OpenFile(fileName + @"/myvoice.wav", FileMode.OpenOrCreate);
Please guide me. I want to make a drive in my local drive "D".
These folders are created in a temporary storage location (like a cookie).
You cannot directly access the harddrive path in Silverlight (unless you run with elevated permissions).
That is the whole idea behind running Silverlight in a sandboxed environment.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)