| 
Document
IsEncrypted Method (String)
  | 
 Check that the document is encrypted
 Namespace:
 Spire.Doc
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public static bool IsEncrypted(
	string fileName
)
 
Public Shared Function IsEncrypted ( 
	fileName As String
) As Boolean
 
public:
static bool IsEncrypted(
	String^ fileName
)
 
static member IsEncrypted : 
fileName : string -> bool 
 
 
 
Parameters
 
- 
fileName
 
- 
 Type:
 
System
String
 
 The file name
Return Value
 
 Type:
 
Boolean
 
 whether the document is encrypted.
 
 See Also
See Also