Aspose::Cells::WriteProtection::ValidatePassword method

WriteProtection::ValidatePassword(const U16String&) method

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

bool Aspose::Cells::WriteProtection::ValidatePassword(const U16String &password)
ParameterTypeDescription
passwordconst U16String&The specified password.

ReturnValue

See Also

WriteProtection::ValidatePassword(const char16_t*) method

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

bool Aspose::Cells::WriteProtection::ValidatePassword(const char16_t *password)
ParameterTypeDescription
passwordconst char16_t*The specified password.

ReturnValue

See Also