Workbook.PasswordEncryptionKeyLength Property

Definition

Gets the key length of the algorithm that Microsoft Office Excel uses when encrypting passwords for the workbook.

public int PasswordEncryptionKeyLength { get; }

Property Value

The key length of the algorithm that Excel uses when encrypting passwords for the workbook.

Remarks

Use the SetPasswordEncryptionOptions method to specify whether Excel encrypts file properties for the specified password-protected workbook.

Applies to