internal Password(Password.Callback callback, int pluginNumber, int cryptoNumber, int flags)
 {
     this.callback = callback;
     this.pluginNumber = pluginNumber;
     this.cryptoNumber = cryptoNumber;
     this.MasterPasswordDefined = flags == 1;
 }
 public static void FsSetCryptCallback(Password.Callback password, int cryptoNumber, int flags)
 {
     try
     {
         Plugin.SetPasswordStore(new Password(password, pluginNumber, cryptoNumber, flags));
     }
     catch (Exception ex)
     {
         UnhandledError(ex);
     }
 }
 void ITotalCommanderWfxPlugin.SetPasswordStore(Password password)
 {
     Password = password;
 }