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.8318.42066 (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 try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(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