Detect if user refused to start process in UAC

When starting a new process in C # with

process.Start()

      

I cannot find the user denied this process in the UAC window. In both cases, ExitCode is 0.

How do I know if a user is allowed or denied in this process?

Thank!

+3
c #


source to share


No one has answered this question yet

Check out similar questions:

2753
Case insensitive "Contains (string)"
1270
Why not inherit from List <T>?
529
Invalid cross-stream operation: control is from a thread other than the one that was created on
475
How do I update the current line in a C # windows console application?
339
How do I change property names when serializing with Json.net?
338
How do I programmatically exit a WPF application?
322
Why should we define both == and! = In C #?
12
Process.Start never returns when UAC denies
nine
Kill process started with System.Diagnostic.Process.Start ("FileName")
-2
Disable UAC and notify user



All Articles
Loading...
X
Show
Funny
Dev
Pics