Esempio n. 1
0
 public AuthForm(KeePassRPCClientConnection connection, string securityLevel, string clientName,
     string clientDescription, string password)
 {
     InitializeComponent();
     SecurityLevel = securityLevel;
     ClientName = clientName;
     ClientDescription = clientDescription;
     Password = password;
     Connection = connection;
 }
Esempio n. 2
0
 public AuthForm(KeePassRPCClientConnection connection, string securityLevel, string clientName,
                 string clientDescription, string password)
 {
     InitializeComponent();
     SecurityLevel     = securityLevel;
     ClientName        = clientName;
     ClientDescription = clientDescription;
     Password          = password;
     Connection        = connection;
 }
Esempio n. 3
0
 public AuthForm(KeePassRPCClientConnection connection, string securityLevel, string clientName,
                 string clientDescription, string password)
 {
     InitializeComponent();
     SecurityLevel = securityLevel;
     ClientName    = SanitiseClientName(clientName);
     if (string.IsNullOrWhiteSpace(ClientName))
     {
         ClientName = "Client with an invalid name (CAUTION!!!)";
     }
     ClientDescription = clientDescription;
     if (string.IsNullOrWhiteSpace(ClientDescription))
     {
         ClientDescription = "Client has supplied no description (CAUTION!!!)";
     }
     Password   = password;
     Connection = connection;
 }