ConnectionSettings cs = new ConnectionSettings(); cs.ExecutionMode = TDAPI_EXECUTION_MODES.EXECUTION_MODE_INTERACTIVE; cs.BasicAuthHeaderMode = TDAPI_BASIC_AUTH_HEADER_MODES.HEADER_MODE_ONCE; ... cs.SetWebServerCredentials("login", "pass"); // import to OTA Connection TDConnection otaConnection = new TDConnection(); otaConnection.ImportConnectionSettings(cs); // connect to ALM server otaConnection.InitConnection("http://<server URL>/qcbin");
CloneTo | Get copy object |
GetCookie | Get cookie |
GetCurrentCertificateKeys | Get client certificate keys (bytes of SerialNumber&Issuer) |
GetProxy | Set proxy settings |
GetProxyCredentials | Get proxy credentials |
GetWebServerCredentials | Get server credentials |
SetCookie | Set cookie |
SetCurrentCertificateKeys | Set client certificate keys (bytes of SerialNumber&Issuer) |
SetProxy | Set proxy settings |
SetProxyCredentials | Set proxy credentials |
SetWebServerCredentials | Set server settings |
BasicAuthHeaderMode | Set force auth header param |
ClientCert | Set client certificate, the parameter should be valid CERT_CONTEXT structure. |
ExecutionMode | Set execution mode |
UseInstanceCache | Use instance cache of settings storages |