ProcessElevationIsAdministrator Method |
This function checks whether the current process is running under administrator privileges.
Namespace:
TreeksLicensingLibrary2
Assembly:
TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (2.1.0.0)
Syntax public static bool IsAdministrator()
Public Shared Function IsAdministrator As Boolean
public:
static bool IsAdministrator()
static member IsAdministrator : unit -> bool
Return Value
Type:
BooleanTrue if current process is running under administrator privileges.
See Also