'Declaration Public Overloads Function EncryptFile( _ ByVal encryptionType As EncryptionProvider, _ ByVal key As System.String, _ ByVal inputFilePath As System.String, _ ByVal outputFilePath As System.String _ ) As System.Boolean
'Usage Dim instance As Encryption Dim encryptionType As EncryptionProvider Dim key As System.String Dim inputFilePath As System.String Dim outputFilePath As System.String Dim value As System.Boolean value = instance.EncryptFile(encryptionType, key, inputFilePath, outputFilePath)
public System.bool EncryptFile( EncryptionProvider encryptionType, System.string key, System.string inputFilePath, System.string outputFilePath )
public function EncryptFile( encryptionType: EncryptionProvider; key: System.String; inputFilePath: System.String; outputFilePath: System.String ): System.Boolean;
public function EncryptFile( encryptionType : EncryptionProvider, key : System.String, inputFilePath : System.String, outputFilePath : System.String ) : System.boolean;
public: System.bool EncryptFile( EncryptionProvider encryptionType, System.string* key, System.string* inputFilePath, System.string* outputFilePath )
public: System.bool EncryptFile( EncryptionProvider encryptionType, System.String^ key, System.String^ inputFilePath, System.String^ outputFilePath )
Parameters
- encryptionType
- The encryption algorithm to use
- key
- The encryption password
- inputFilePath
- The file to encrypt
- outputFilePath
- The output encrypted file