public ScriptedAgentStatus() { HTTPClient = new wasHTTPClient (CORRADE_CONSTANTS.USER_AGENT, new CookieContainer(), CORRADE_CONSTANTS.CONTENT_TYPE.WWW_FORM_URLENCODED, Corrade.corradeConfiguration.ServicesTimeout); Login(); }
public void Dispose() { if (HTTPClient != null) { Logout(); } HTTPClient?.Dispose(); HTTPClient = null; }