ProcessContext Properties |
The ProcessContext type exposes the following members.
Name | Description | |
---|---|---|
IsAdministrator | [AlphaFS] Determines if the current process is run in the context of an Administrator. | |
IsElevatedProcess | [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. | |
IsUacEnabled | [AlphaFS] Determines if UAC is enabled by reading the "EnableLUA" registry key of the local Computer. | |
IsWindowsService | [AlphaFS] Determines if the current process is run in the context of a Windows Service. |