hemanth kumar
hemanth kumar

Reputation: 3078

how to create an application which is trusted and grant it with admin privileges in Dot net

I have to create an application which needed to be opened without the UAC prompt. Is there any way to achieve this?

Upvotes: 1

Views: 121

Answers (2)

Brian
Brian

Reputation: 2229

You could create a code access security policy that grants Full trust to the application. I have done this for a Click Once applications where we needed to dynamically install x.509 certificates in to the IE certificate store.

Take a look at this link for info enter link description here

Upvotes: 0

Brad Christie
Brad Christie

Reputation: 101614

UAC can be managed via a manifest file and setting the requestedExecutionLevel. There is a write-up on MSDN describing the process here.

Upvotes: 2

Related Questions