[This is preliminary documentation and is subject to change.]
Decrypts a file. The file needs to be encrypted with the same secret
key or with the default EncryptFile method given in this class.
Namespace:
OfficeClip.UtilsAssembly: OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0
Syntax
C# |
---|
public static int DecryptFile( string sInputFilename, string sOutputFilename, string sKey ) |
Visual Basic (Declaration) |
---|
Public Shared Function DecryptFile ( _ sInputFilename As String, _ sOutputFilename As String, _ sKey As String _ ) As Integer |
Visual C++ |
---|
public: static int DecryptFile( String^ sInputFilename, String^ sOutputFilename, String^ sKey ) |
Parameters
- sInputFilename
- Type: System..::.String
The encrypted input file name.
- sOutputFilename
- Type: System..::.String
The decrypted output file name.
- sKey
- Type: System..::.String
the secret key.
Return Value
0 if successful, -1 if failed.
Exceptions
Exception | Condition |
---|---|
OfficeClip.Utils..::.OCException |