M
Mircea Pleteriu
Hi all,
I have this code sample
FileIOPermission fp = new FileIOPermission(PermissionState.Unrestricted);
fp.Deny();
StreamWriter sw = new StreamWriter(@"c:\test.txt");
sw.Write("Test");
sw.Close();
I do not understand why the file is still created?
I have this code sample
FileIOPermission fp = new FileIOPermission(PermissionState.Unrestricted);
fp.Deny();
StreamWriter sw = new StreamWriter(@"c:\test.txt");
sw.Write("Test");
sw.Close();
I do not understand why the file is still created?