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
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
SafePasswordHandle ( SecureString password ) : System
SafePasswordHandle ( string password ) : System

Méthodes protégées

Méthode Description
ReleaseHandle ( ) : bool

Private Methods

Méthode Description
CreateHandle ( SecureString password ) : IntPtr
CreateHandle ( string password ) : IntPtr
FreeHandle ( ) : void

Method Details

ReleaseHandle() protected méthode

protected ReleaseHandle ( ) : bool
Résultat bool

SafePasswordHandle() public méthode

public SafePasswordHandle ( SecureString password ) : System
password System.Security.SecureString
Résultat System

SafePasswordHandle() public méthode

public SafePasswordHandle ( string password ) : System
password string
Résultat System