[]
Specifies whether the file is password protected.
bool IsEncryptedFile(string fileName)
Function IsEncryptedFile(fileName As String) As Boolean
Type | Name | Description |
---|---|---|
string | fileName | The file name. |
Type | Description |
---|---|
bool | True if the file is encrypted, false otherwise. |
Specifies whether the file is password protected.
bool IsEncryptedFile(Stream fileStream)
Function IsEncryptedFile(fileStream As Stream) As Boolean
Type | Name | Description |
---|---|---|
Stream | fileStream | The file stream. |
Type | Description |
---|---|
bool | True if the file is encrypted, false otherwise. |