void ITotalCommanderWcxPlugin.SetPassword(Password password)
 {
     Password = password;
 }
 public static void SetCryptCallbackW(Password.Callback callback, int number, int flags)
 {
     try
     {
         Plugin.SetPassword(new Password(callback, number, flags));
     }
     catch (Exception ex)
     {
         ProcessUnhandledException(ex);
     }
 }
 internal Password(Password.Callback callback, int cryptoNumber, int flags)
 {
     this.callback = callback;
     this.cryptoNumber = cryptoNumber;
     this.MasterPasswordDefined = flags == 1;
 }