Click or drag to resize

UserAccountControlIsCurrentProcessElevated Property

Returns true if the current process is elevated, i.e. if the process went through an elevation consent phase.

Namespace: GSF.Identity
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
Syntax
public static bool IsCurrentProcessElevated { get; }
View Source

Property Value

Boolean
Remarks
This property will return false if UAC is disabled and the process is running as admin. It only determines whether the process went through the elevation procedure.
See Also