Example #1
0
        public string CreateConnectionString
            (string server, string catalogue, string username, string password)
        {
            var unecryptedPassword = _encryptor.DecryptString(password);

            return($"Server={server};User ID={username};pwd={unecryptedPassword};database={catalogue};");
        }
 public T DeSerialize <T>(string text)
 {
     return(inner.DeSerialize <T>(encryptor.DecryptString(text, api.GetStateData().UserSession.Password)));
 }