Workbook
IsPasswordProtected Method (String)
|
check file is password protect
Namespace:
Spire.Xls
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public static bool IsPasswordProtected(
string fileName
)
Public Shared Function IsPasswordProtected (
fileName As String
) As Boolean
public:
static bool IsPasswordProtected(
String^ fileName
)
static member IsPasswordProtected :
fileName : string -> bool
Parameters
-
fileName
-
Type:
System
String
Return Value
Type:
Boolean
See Also