EncryptionType Property
The encryption type used to encrypt the document.
Syntax
public OfficedecryptorEncryptionTypes EncryptionType { get; }
enum OfficedecryptorEncryptionTypes { oetDefault, oetBinaryRC4, oetBinaryRC4CryptoAPI, oetOpenXMLStandard, oetOpenXMLAgile, oetOpenDocument }
Public ReadOnly Property EncryptionType As OfficedecryptorEncryptionTypes
Enum OfficedecryptorEncryptionTypes oetDefault oetBinaryRC4 oetBinaryRC4CryptoAPI oetOpenXMLStandard oetOpenXMLAgile oetOpenDocument End Enum
Default Value
0
Remarks
This property contains the encryption type used to encrypt the Office document.
Supported values:
oetDefault | 0 | Uses default encryption depending on Office document format |
oetBinaryRC4 | 1 | Uses RC4 encryption for Binary Office documents |
oetBinaryRC4CryptoAPI | 2 | Uses RC4 Crypto API encryption for Binary Office documents |
oetOpenXMLStandard | 3 | Uses standard encryption for OpenXML Office documents |
oetOpenXMLAgile | 4 | Uses agile encryption for OpenXML Office documents |
oetOpenDocument | 5 | Uses standard encryption for OpenOffice documents |
This property is read-only and not available at design time.