Encrypts a source file into a target file.

Namespace:  Rebex.Security
Assembly:  Rebex.Security (in Rebex.Security.dll)

Syntax

Visual Basic
Public Sub Encrypt ( _
	sourceFile As String, _
	targetFile As String _
)
C#
public void Encrypt(
	string sourceFile,
	string targetFile
)

Parameters

sourceFile
Type: System..::..String
The file to encrypt.
targetFile
Type: System..::..String
The name of the encrypted file. This cannot be a directory.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also