[]
Sets the current password. If password is null or empty, password will be reset.
public void SetPassword(string password, CryptographicAlgorithmSid sid = CryptographicAlgorithmSid.SHA_512, int spinCount = 50000)
Public Sub SetPassword(password As String, Optional sid As CryptographicAlgorithmSid = CryptographicAlgorithmSid.SHA_512, Optional spinCount As Integer = 50000)
Type | Name | Description |
---|---|---|
string | password | The password string. |
CryptographicAlgorithmSid | sid | The password hashing algorithm. |
int | spinCount | The count of hash transformations used in password generation. |