public EncryptFileOperation(string source, string target, EncryptionCredentials credentials)
        {
            this.Title = "Encrypt " + source;

            this.source      = source;
            this.target      = target;
            this.credentials = credentials;
        }
Beispiel #2
0
        public FolderLink(string encryptedFolder, string decryptedFolder, EncryptionCredentials credentials)
        {
            this.credentials     = credentials;
            this.encryptedFolder = new Folder(encryptedFolder, "Encrypted", this);
            this.decryptedFolder = new Folder(decryptedFolder, "Decrypted", this);

            this.encryptedFolderWatcher = new FolderWatcher(this.encryptedFolder);
            this.decryptedFolderWatcher = new FolderWatcher(this.decryptedFolder);
        }