I m having an application where I loads dlls dnamically and from that loaded dll is use to read some machine settings,files etc. I want full access for my application so I want to disable CAS setting for my application.
I have tried "SecurityManager.SecurityEnabled = false" but I m failing to set this property from my application.
I have tried caspol -security off
VS command prompt but from my code I always gets TRUE for SecurityManager.SecurityEnabled.
I m using CLR v2.0
Please let me know how I can disable CAS from my application.
View Complete Post