static void Main(string[] args) { PresenceServerConfiguration config = new PresenceServerConfiguration { Login = "******", Password = "******", PrimaryAddress = "cup.host.here", UseHttp = true }; PresenceConnector conn = new PresenceConnector(config); conn.Init(); //if (conn.StartTest2()) //{ // Console.WriteLine("Press enter to exit"); // Console.ReadLine(); // conn.EndTest2(); //} conn.Test(); }
public PresenceConnector(PresenceServerConfiguration configuration) { this.configuration = configuration; //callbackServer = new SimpleWebServer.WebServer(SendHttpResponse, callbckServerAddress); }