Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

FileEncryption.Encrypt Method

Namespace: Rebex.Security
Assembly: Rebex.Security.dll (version 7.0.9147)

Encrypt(String, String)

Encrypts a source file into a target file.

Declaration
public void Encrypt(string sourceFile, string targetFile)
Parameters
Type Name Description
String sourceFile

The file to encrypt.

String targetFile

The name of the encrypted file. This cannot be a directory.

Encrypt(Stream, Stream)

Encrypts data from a source stream into a target stream.

Declaration
public void Encrypt(Stream sourceStream, Stream targetStream)
Parameters
Type Name Description
Stream sourceStream

Readable stream with input data.

Stream targetStream

Writable stream that will receive the encrypted data.

In This Article
  • Encrypt(String, String)
  • Encrypt(Stream, Stream)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies