/// <summary> /// Checks the pageversion of connected jinzoraServer /// </summary> private void lookupPageVersion() { _completedHtml = request.Request("", true); parser = new ParserMain(); loadServerlist(); foreach (ServerListItem item in _serverlist) { if (item.ServerName == _serverItem.ServerName) { _serverItem = item; } } _serverItem.PageVersion = parser.GetJinzoraVersion(_completedHtml); _serverItem.Url = request.AbsoluteUrl; saveServerList(); request.Status -= request_RequestError; request = new RequestClass(_serverItem); request.Status += new EventHandler(request_RequestError); }
public RequestParserManager(ServerListItem item) { _serverItem = item; if (request != null) { request.Status -= request_RequestError; } request = new RequestClass(_serverItem); request.Status += new EventHandler(request_RequestError); }