[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.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public static int DecryptFile(
	string sInputFilename,
	string sOutputFilename
)
Visual Basic (Declaration)
Public Shared Function DecryptFile ( _
	sInputFilename As String, _
	sOutputFilename As String _
) As Integer
Visual C++
public:
static int DecryptFile(
	String^ sInputFilename, 
	String^ sOutputFilename
)

Parameters

sInputFilename
Type: System..::.String
The encrypted input file name.
sOutputFilename
Type: System..::.String
The decrypted output file name.

Return Value

0 if successful, -1 if failed.

See Also