public AEReceiverViewModel()
        {
            decryptCommand      = new DelegateCommand(Decrypt);
            chooseFileCommand   = new DelegateCommand(ChooseFile);
            generateKeysCommand = new DelegateCommand(GenerateKeys);
            showKeyCommand      = new DelegateCommand(ShowKey);

            baseDirectory = BaseDirectory.GetBaseDirectory();

            FileChoice = baseDirectory + fileName;
        }
Exemple #2
0
        public RSAXML(string path = ".")
        {
            baseDirectory = BaseDirectory.GetBaseDirectoryWinFormat();

            dirpaths = new string[] {
                baseDirectory + path + pubpath,
                path + pubpath,
                path + pripath
            };

            filepaths = new string[] {
                baseDirectory + path + pubpath + pubname,
                path + pubpath + pubname,
                path + pripath + priname
            };

            GetKey(path);
        }
Exemple #3
0
 public Printer()
 {
     baseDirectory = BaseDirectory.GetBaseDirectoryWinFormat();
 }