Exemple #1
0
        void HandleTimeDelayEstimated(object sender, TimeDelayEventArgs e)
        {
            logger.Info("Delay to server is " + e.TimeDelayMs);

            logger.Info("Authenticating as a client");

            Authenticator authenticator = new Authenticator(communicator);

            authenticator.Authenticated += HandleAuthenticated;
        }
        void HandleTimeDelayEstimated(object sender, TimeDelayEventArgs e)
        {
            logger.Info("Delay to server is " + e.TimeDelayMs);

            logger.Info("Authenticating as a client");

            Authenticator authenticator = new Authenticator(communicator);
            authenticator.Authenticated += HandleAuthenticated;
        }