Пример #1
0
 public SSOInfo(string key)
 {
     rijndaelKey = new RijndaelEnhanced(key, "@1B2c3D4e5F6g7H8");
 }
Пример #2
0
        private string getConnStr(string Name)
        {
            RijndaelEnhanced rijndaelKey = new RijndaelEnhanced("ePower", "@1B2c3D4e5F6g7H8");

            return(rijndaelKey.Decrypt(ConfigurationManager.ConnectionStrings[Name].ConnectionString));
        }
Пример #3
0
 public SSOInfo()
 {
     rijndaelKey = new RijndaelEnhanced(Key.sKey, "@1B2c3D4e5F6g7H8");
 }