VistaDB 5






VistaDB.Web Namespace > VistaDBMembershipProvider Class > EncryptPassword Method : EncryptPassword(Byte[],MembershipPasswordCompatibilityMode) Method
EncryptPassword(Byte[],MembershipPasswordCompatibilityMode) Method
Syntax
'Declaration
 
Protected Overloads Function EncryptPassword( _
   ByVal password() As System.Byte, _
   ByVal legacyPasswordCompatibilityMode As System.Web.Configuration.MembershipPasswordCompatibilityMode _
) As System.Byte()
'Usage
 
Dim instance As VistaDBMembershipProvider
Dim password() As System.Byte
Dim legacyPasswordCompatibilityMode As System.Web.Configuration.MembershipPasswordCompatibilityMode
Dim value() As System.Byte
 
value = instance.EncryptPassword(password, legacyPasswordCompatibilityMode)
protected System.byte[] EncryptPassword( 
   System.byte[] password,
   System.Web.Configuration.MembershipPasswordCompatibilityMode legacyPasswordCompatibilityMode
)
protected function EncryptPassword( 
    password: System.Bytearray of;
    legacyPasswordCompatibilityMode: System.Web.Configuration.MembershipPasswordCompatibilityMode
): System.array of Byte; 
protected function EncryptPassword( 
   password : System.byte[],
   legacyPasswordCompatibilityMode : System.Web.Configuration.MembershipPasswordCompatibilityMode
) : System.byte[];
protected: System.byte[]* EncryptPassword( 
   System.byte[]* password,
   System.Web.Configuration.MembershipPasswordCompatibilityMode legacyPasswordCompatibilityMode
) 
protected:
System.array<byte>^ EncryptPassword( 
   System.array<byte>^ password,
   System.Web.Configuration.MembershipPasswordCompatibilityMode legacyPasswordCompatibilityMode
) 

Parameters

password
legacyPasswordCompatibilityMode
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also