コード例 #1
0
        public FileInfo EncryptCostcoConfirmFile(string encryptedFilePath, IAppSettingsService appSettings)
        {
            string encryptedFileName = GnuPG.EncryptFile(encryptedFilePath, appSettings.Costco.Dir.Encrypt.Confirms.Path);

            return(new FileInfo(encryptedFileName));
        }
コード例 #2
0
        public FileInfo DecryptCostcoOrderFile(string encryptedFilePath, IAppSettingsService appSettings)
        {
            string decryptedFileName = GnuPG.DecryptFile(encryptedFilePath, appSettings.Costco.Dir.Decrypt.Orders.Path, CostcoDecryptExt);

            return(new FileInfo(decryptedFileName));
        }