Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / Password Class / SetPassword Method
The password string.
The password hashing algorithm.
The count of hash transformations used in password generation.

In This Topic
    SetPassword Method
    In This Topic
    Sets the current password. If password is null or empty, password will be reset.
    Syntax
    'Declaration
     
    Public Sub SetPassword( _
       ByVal password As System.String, _
       Optional ByVal sid As CryptographicAlgorithmSid, _
       Optional ByVal spinCount As System.Integer _
    ) 
    public void SetPassword( 
       System.string password,
       CryptographicAlgorithmSid sid,
       System.int spinCount
    )

    Parameters

    password
    The password string.
    sid
    The password hashing algorithm.
    spinCount
    The count of hash transformations used in password generation.
    See Also