tags:

views:

110

answers:

2

Hi All,

I am developing a Silverlight4 Application which has elevated permissions and is running out of Browser. I am acessing MyDocuments using this piece of code

if (Application.Current.HasElevatedPermissions)
{
   string path = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
}

Is it Possible to Create subfolder inside MyDocuments.

Can any One give sample code for it

Thanks in Advance

+2  A: 

In order to manipulate directories on the file system, you will want to use the static methods of System.IO.Directory. One such method is CreateDirectory.

Chris