Click or drag to resize
ProcessElevation Class
This class holds functions to easily elevate current process and check administrator privileges.
Inheritance Hierarchy

Namespace: TreeksLicensingLibrary2
Assembly: TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.7916.35650 (
public class ProcessElevation

The ProcessElevation type exposes the following members.

Public methodProcessElevation
Initializes a new instance of the ProcessElevation class
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsAdministrator
This function checks whether the current process is running under administrator privileges.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberRestartCurrentProcessElevated
This function can be called to easily restart your application with administrator privileges.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
See Also