Пример #1
0
 void ReleaseAuth()
 {
     _srp256 = null;
     _srp    = null;
     _sspi?.Dispose();
     _sspi = null;
 }
Пример #2
0
        public AuthBlock(string user, string password, WireCryptOption wireCrypt)
        {
            _srp256 = new Srp256Client();
            _srp    = new SrpClient();
            _sspi   = new SspiHelper();

            User      = user;
            Password  = password;
            WireCrypt = wireCrypt;
        }