Click or drag to resize

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; }

Return Value

Type: Boolean
if UAC is enabled and the current process is in an elevated state; otherwise, .
See Also