if I use this flag, did this order CLR to unrestricted all IO resource including memory or just disk ?
[System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Assert, Unrestricted = true)]
If this for memory also, can this flag work for Windows Forms application or just for ASP.net ?
The problem is sometime it throw error
Attempted to read or write protected memory. This is often an indication that other memory is corrupt
on my Windows Forms app. using C/C++ dll to persist into disk. And has possibility be called from multiple thread.
So any one have solution for this ?
It's hard to be advanced programmer
View Complete Post