public static void Create(string host, Dictionary <string, string> requestParams, string method, DownloadListener listener) { SimpleConnector connector = new SimpleConnector(); connector.SetServerName(host); connector.SetParams(requestParams); connector.OnRequestComplete += listener; if (method == SimpleConnector.METHOD_GET) { connector.SendGet(); } else { connector.SendPost(); } }