WriteProtection.ValidatePassword

WriteProtection.ValidatePassword method

Returns true if the specified password is the same as the write-protection password the file was protected with.

public bool ValidatePassword(string password)
ParameterTypeDescription
passwordStringThe specified password.

See Also