Click or drag to resize

ProcessContext Properties

The ProcessContext type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberIsAdministrator
[AlphaFS] Determines if the current process is run in the context of an Administrator.
Public propertyStatic memberIsElevatedProcess
[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.

Public propertyStatic memberIsUacEnabled
[AlphaFS] Determines if UAC is enabled by reading the "EnableLUA" registry key of the local Computer.
Public propertyStatic memberIsWindowsService
[AlphaFS] Determines if the current process is run in the context of a Windows Service.
Top
See Also