[]
指定文件是否受密码保护。
public bool IsEncryptedFile(Stream fileStream)
| Type | Name | Description |
|---|---|---|
| Stream | fileStream | 文件流。 |
| Type | Description |
|---|---|
| bool | 如果文件已加密,则返回true,否则返回false。 |
指定文件是否受密码保护。
public bool IsEncryptedFile(string fileName)
| Type | Name | Description |
|---|---|---|
| string | fileName | 文件名。 |
| Type | Description |
|---|---|
| bool | 如果文件已加密,则返回true,否则返回false。 |