EncryptionOptions.Password Property

Gets or sets the password to encrypt the workbook.

Namespace: DevExpress.Office.Crypto

Assembly: DevExpress.Data.v21.1.dll


public string Password { get; set; }

Property Value

Type Description

A string that is the password to protect the document.


If you do not supply an encryption password, your document will be encrypted using the default password “VelvetSweatshop”, but you will not be prompted for a password while opening this file.

See Also