Software components for data protection, secure storage and transfer
string srcDirectory = @"c:\temp";
string srcFilemask = "*.pgp";
foreach (string encFile in Directory.GetFiles(srcDirectory, srcFilemask))
//Output filename is just the encrypted filename with '.txt' appended.
String outputFile = encFile + ".txt";
using (SBPGP.TElPGPReader pgpReader = new SBPGP.TElPGPReader())
//Assign the private keyring to the decrypting keys.
pgpReader.DecryptingKeys = secKeys;
//Set the name of the output file.
pgpReader.OutputFile = outputFile;
//Attempt to decrypt the file.
catch (Exception ex)
Number of guests: 1, registered members: 0,
in total hidden: 0
Copyright (c) 2017, /n software, inc.
As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.