|
UserAccountControlIsUacEnabled Property
|
Returns true if User Account Control (UAC) is enabled on this machine.
Namespace: GSF.IdentityAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.230-beta+03417d7b5cff037b24e882d7adef82d359b34964
Syntaxpublic static bool IsUacEnabled { get; }
Public Shared ReadOnly Property IsUacEnabled As Boolean
Get
public:
static property bool IsUacEnabled {
bool get ();
}
static member IsUacEnabled : bool with get
GSF.Identity.UserAccountControl.get_IsUacEnabled = function();
View SourceProperty Value
Boolean
Remarks
This value is obtained by checking the LUA registry key. It is possible that the user has not restarted the machine after
enabling/disabling UAC. In that case, the value of the registry key does not reflect the true state of affairs.
See Also