Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EncryptPassword Method

MembershipProvider.EncryptPassword Method

Encrypts a password.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Protected method EncryptPassword(Byte[]) Encrypts a password.
Protected method EncryptPassword(Byte[], MembershipPasswordCompatibilityMode) Encrypts the specified password using the specified password-compatibility mode.

This method returns a byte array that contains the encrypted password.

Community Additions

© 2015 Microsoft