Post

Jexus Manager: UAC Shield Icon and WinForms Buttons

This post is about how Jexus Manager shows UAC shield icon with WinForms buttons.

You might notice that in recent builds of Jexus Manager that the UAC shield icon starts to appear sometimes. This is because some operations require administrator permissions, and such permissions should be required on demand, instead of forcing you to run Jexus Manager entirely as administrator.

But if you do not manipulate the items (here site bindings) that require elevation, the shield icons are gone. So what is the magic? You might find the methods in this Gist,

Microsoft carefully documents the API on MSDN. However, they fail to remember that we are all C# people.

© Lex Li. All rights reserved. The code included is licensed under CC BY 4.0 unless otherwise noted.
Advertisement