using System;
using ForAspNet.Parole;

namespace CSharpExample
{
     class Class1
     {
          [STAThread]
          static void Main(string[] args)
          {
               ForAspNet.Parole.License.LicenseKey = "<put license code here>";
               Parole objParole = new Parole();
               for(int i = 1; i< 10; i++)
                    Console.WriteLine(objParole.generatePassword());
               string encrypedPassword = objParole.encryptPassword("password");
               Console.WriteLine("Encryped Password: " + encrypedPassword);
               Console.WriteLine("Decryped Password: " + objParole.decryptPassword(encrypedPassword));
               Console.WriteLine("Press Enter to exit...");
               Console.ReadLine();

          }
     }
}