Beispiel #1
0
        private static void Connect()
        {
            if (_settings.Hostname == null)
            {
                Console.Write("Enter Hostname: ");
                _settings.Hostname = Console.ReadLine();
            }

            if (_settings.Username == null)
            {
                Console.Write("Enter Username: "******"Enter Password: "******"Connection established!");
            }
        }
Beispiel #2
0
 public ReceivedEvents()
 {
     s = new Sync("token", "privatekey");
     s.HandlerMessages += S_HandlerMessages;
     s.HandlerLogs     += S_HandlerLogs;
     s.Connect();
 }