[]
Specifies whether the file is password protected.
public bool IsEncryptedFile(Stream fileStream)
Public 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. |
Specifies whether the file is password protected.
public bool IsEncryptedFile(string fileName)
Public 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. |