예제 #1
0
        public static void Main(string[] args)
        {
            IConnectionInfo connectionInfo = new ConnectionInfo("149.154.167.40", 443);
            Authenticator   authenticator  = new Authenticator(
                new[] { connectionInfo },
                new PqLopatinSolver(),
                new Aes256IgeCrypter(),
                new RsaCrypter());
            Task attempt = authenticator.AttemptAuthenticationAsync();

            attempt.Wait();
        }