[This is preliminary documentation and is subject to change.]

Encrypts a file.

Namespace:  OfficeClip.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

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

Parameters

sInputFilename
Type: System..::.String
the full path name of the file to be converted.
sOutputFilename
Type: System..::.String
The full path name of the converted file.
sKey
Type: System..::.String
The secret key.

Return Value

Returns 0 if successful, -1 if failed.

See Also