|
UserAccountControlIsCurrentProcessElevated Property
|
Returns true if the current process is elevated, i.e. if the process went through an elevation consent phase.
Namespace: GSF.IdentityAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.240-beta+897dce54fc8a4a27d3c8972aabbe9a3d48c9c170
Syntaxpublic static bool IsCurrentProcessElevated { get; }
Public Shared ReadOnly Property IsCurrentProcessElevated As Boolean
Get
public:
static property bool IsCurrentProcessElevated {
bool get ();
}
static member IsCurrentProcessElevated : bool with get
GSF.Identity.UserAccountControl.get_IsCurrentProcessElevated = function();
View SourceProperty 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