C# Class Microsoft.Win32.SafeHandles.SafePasswordHandle

Wrap a string- or SecureString-based object. A null value indicates IntPtr.Zero should be used.
Inheritance: System.Runtime.InteropServices.SafeHandle
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
SafePasswordHandle ( SecureString password ) : System
SafePasswordHandle ( string password ) : System

Protected Methods

Method Description
ReleaseHandle ( ) : bool

Private Methods

Method Description
CreateHandle ( SecureString password ) : IntPtr
CreateHandle ( string password ) : IntPtr
FreeHandle ( ) : void

Method Details

ReleaseHandle() protected method

protected ReleaseHandle ( ) : bool
return bool

SafePasswordHandle() public method

public SafePasswordHandle ( SecureString password ) : System
password System.Security.SecureString
return System

SafePasswordHandle() public method

public SafePasswordHandle ( string password ) : System
password string
return System