[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Password

Password Class

Represents a password used to protect a document.

Inheritance
Password
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class Password
Public Class Password

Fields

Name Description
KnownHashes

Gets the list of known hash algorithms.

Properties

Name Description
HashType

Gets the hash algorithm used to encrypt the password.

SpinCount

Gets the number of times the hashing function shall be iteratively run.

Methods

Name Description
ResetPassword()

Resets the current password.

SetPassword(string, CryptographicAlgorithmSid, int)

Sets the current password. If password is null or empty, password will be reset.

ValidatePassword(string)

Compares the current password to a specified value.