Click or drag to resize

Alphaleonis.Win32.Security Namespace

This namespace contains classes directly related to security such as authentication, authorization and privilege tokens that may be needed for some file operations. For an example the SE_SECURITY_NAME privilege needs to be held to be able to modify the SACL of any file.
Classes
  ClassDescription
Public classPrivilege
Represents a privilege for an access token. The privileges available on the local machine are available as static instances from this class. To create a Privilege representing a privilege on another system, use the constructor specifying a system name together with one of these static instances.
Public classPrivilegeEnabler
Used to enable one or more privileges. The privileges specified will be enabled during the lifetime of the instance. Users create an instance of this object in a using statement to ensure that it is properly disposed when the elevated privileges are no longer needed.
Enumerations
  EnumerationDescription
Public enumerationHashType
Enum containing the supported hash types.