Modify .NET Security via code

A

asadikhan

Is there a way to modify the .NET Security via code as opposed to using
the Microsoft .NET Framework 1.x Wizard and clicking "Adjust .Net
Security" icon. Ideally, upon checking whether the application has full
trust or not (by using the Demand method on a PermissionSet object), I
want to present the user a dialog box asking him to click Yes to modify
the security settings, or no to exit the application.

I am assuming the user is logged in as an admin.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,082
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top