Метод | Описание | |
---|---|---|
HashPassword ( string password, string salt ) : string |
Hashes a combination of the password and salt using SHA1 via FormsAuthentication, or SHA256 is FormsAuthentication is not enabled.
|
|
SetPassword ( string password ) : void |
Encrypts and sets the password for the user.
|
public static HashPassword ( string password, string salt ) : string | ||
password | string | |
salt | string | |
Результат | string |
public SetPassword ( string password ) : void | ||
password | string | The password in plain text format. |
Результат | void |