public virtual void OnSubmitCorrectPW(PassphraseEventArg e)
        {
            SubmittedCorrectPassphraseEventHandler handler = SubmittedCorredPassphrase;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 public void CheckPassword(string userPW)
 {
     if (userPW == phrase)
     {
         PassphraseEventArg args = new PassphraseEventArg();
         args.time = DateTime.Now;
         OnSubmitCorrectPW(args);
     }
 }