[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Workbook.IsEncryptedFile

IsEncryptedFile Method

IsEncryptedFile(Stream)

Specifies whether the file is password protected.

Declaration
public bool IsEncryptedFile(Stream fileStream)
Parameters
Type Name Description
Stream fileStream

The file stream.

Returns
Type Description
bool

True if the file is encrypted, false otherwise.

Implements

IsEncryptedFile(string)

Specifies whether the file is password protected.

Declaration
public bool IsEncryptedFile(string fileName)
Parameters
Type Name Description
string fileName

The file name.

Returns
Type Description
bool

True if the file is encrypted, false otherwise.

Implements