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