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

Namespace: TreeksLicensingLibrary2
Assembly: TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.7367.37891 (2.1.0.0)
Syntax
public class ProcessElevation

The ProcessElevation type exposes the following members.

Constructors
  NameDescription
Public methodProcessElevation
Initializes a new instance of the ProcessElevation class
Top
Methods
  NameDescription
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.)
Top
See Also