Click or drag to resize

UserAccountControlIsUacEnabled Property

Returns true if User Account Control (UAC) is enabled on this machine.

Namespace: GSF.Identity
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.240-beta+897dce54fc8a4a27d3c8972aabbe9a3d48c9c170
Syntax
public static bool IsUacEnabled { get; }
View Source

Property 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