Encryption encryption = new Encryption(); //Trial Mode
//Encryption encryption = new Encryption("place user name here", "place license key here"); //License Mode
string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "TestDirectory");
Directory.CreateDirectory(path);
string testFile = Path.Combine(path, "testfile.txt");
File.WriteAllText(testFile, "This is a test");
string nonMatchingFile = Path.Combine(path, "testfile.log");
File.WriteAllText(nonMatchingFile, "This is a test");
encryption.SecureDirectoryErase(path, "*.txt");
bool fileExists = File.Exists(testFile);
Console.WriteLine("Matching File Exists: {0}", fileExists);
fileExists = File.Exists(nonMatchingFile);
Console.WriteLine("Non Matching File Exists: {0}", fileExists);