FileIOPermission issue
From: Mircea Pleteriu (mpleteriu_at_asp-gmbh.de)
Date: 05/31/04
- Previous message: Jonathan Pierce: "Obfuscator and Decompiler"
- Next in thread: Nicole Calinoiu: "Re: FileIOPermission issue"
- Reply: Nicole Calinoiu: "Re: FileIOPermission issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 31 May 2004 11:17:54 +0300
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?
- Previous message: Jonathan Pierce: "Obfuscator and Decompiler"
- Next in thread: Nicole Calinoiu: "Re: FileIOPermission issue"
- Reply: Nicole Calinoiu: "Re: FileIOPermission issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]