Only elevate to admin when needed RRS feed

  • Question

  • Hi,

    I am writing a C# application. I know how to let it demand admin right at start up. But this application only needs admin right on very rare occasion. So is there a way so that only at the point in time when user calls that method which needs admin right, do we pop up that Windows admin right elevation dialog? This way for 99.9% of the time user won't be bothered by that admin right elevation dialog.


    Thursday, July 5, 2012 1:33 AM