Assembly: Rebex.Security (in Rebex.Security.dll)
Public Function BeginEncrypt ( _ sourceFile As , _ targetFile As , _ callback As , _ state As _ ) As
public BeginEncrypt( sourceFile, targetFile, callback, state )
The file to encrypt.
The name of the encrypted file. This cannot be a directory.
An optional asynchronous callback to be called when the operation is complete.
A user-provided object that identifies this particular asynchronous operation.
Return ValueAn that references the asynchronous operation.
In builds for .NET 4.0 and higher, this method is available as an extension method. Add 'using Rebex.Legacy' (C#) or 'Import Rebex.Legacy' (VB.NET) to your code in order to use it.