ProcessContextIsElevatedProcess Property |
[AlphaFS] Determines if UAC is enabled and that the current process is in an elevated state.
If the current User is the default Administrator then the process is assumed to be in an elevated state.
This assumption is made because by default, the default Administrator (disabled by default) gets all access rights without showing an UAC prompt.
Namespace:
Alphaleonis.Win32.Security
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static bool IsElevatedProcess { get; }
Public Shared ReadOnly Property IsElevatedProcess As Boolean
Get
public:
static property bool IsElevatedProcess {
bool get ();
}
static member IsElevatedProcess : bool with get
Return Value
Type:
Boolean if UAC is enabled and the current process is in an elevated state; otherwise,
.
See Also