EncryptFile Method
Encrypts the contents of a file.
Syntax
[VB.NET] Public Sub EncryptFile(ByVal InputFile As String, ByVal OutputFile As String)
[C#] public void EncryptFile(string inputFile, string outputFile);
Remarks
This method encrypts the contents of a file. InputFile is encrypted using the certificate specified by the Certificate property, and the result is placed in OutputFile.
NOTE: This method has a corresponding asynchronous version (EncryptFileAsync) for use in the Xamarin environment.