'Declaration Public Overloads Function EncryptFile( _ ByVal encryptionType As EncryptionProvider, _ ByVal key As System.String, _ ByVal inputFilePath As System.String, _ ByVal outputFilePath As System.String, _ ByVal useBase64 As System.Boolean _ ) 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 useBase64 As System.Boolean Dim value As System.Boolean value = instance.EncryptFile(encryptionType, key, inputFilePath, outputFilePath, useBase64)
public System.bool EncryptFile( EncryptionProvider encryptionType, System.string key, System.string inputFilePath, System.string outputFilePath, System.bool useBase64 )
public function EncryptFile( encryptionType: EncryptionProvider; key: System.String; inputFilePath: System.String; outputFilePath: System.String; useBase64: System.Boolean ): System.Boolean;
public function EncryptFile( encryptionType : EncryptionProvider, key : System.String, inputFilePath : System.String, outputFilePath : System.String, useBase64 : System.boolean ) : System.boolean;
public: System.bool EncryptFile( EncryptionProvider encryptionType, System.string* key, System.string* inputFilePath, System.string* outputFilePath, System.bool useBase64 )
public: System.bool EncryptFile( EncryptionProvider encryptionType, System.String^ key, System.String^ inputFilePath, System.String^ outputFilePath, System.bool useBase64 )
Parameters
- encryptionType
- The encryption algorithm to use
- key
- The encryption password
- inputFilePath
- The file to encrypt
- outputFilePath
- The output encrypted file
- useBase64
- If true, the file will be base64 encoded