ALM Open Test Architecture API Type Library Version 12.55
ConnectionSettings Object
Members 
Description
WebGate connection settings.
Remarks
Contains getters and setters for the connection settings that can be set with the WebGate Customization tool.
Use to pre-configure OTA connections.
Example
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");
Public Methods
Public Method CloneToGet copy object
Public Method GetCookieGet cookie
Public Method GetCurrentCertificateKeysGet client certificate keys (bytes of SerialNumber&Issuer)
Public Method GetProxySet proxy settings
Public Method GetProxyCredentialsGet proxy credentials
Public Method GetWebServerCredentialsGet server credentials
Public Method SetCookieSet cookie
Public Method SetCurrentCertificateKeysSet client certificate keys (bytes of SerialNumber&Issuer)
Public Method SetProxySet proxy settings
Public Method SetProxyCredentialsSet proxy credentials
Public Method SetWebServerCredentialsSet server settings
Public Properties
Public Property BasicAuthHeaderModeSet force auth header param
Public Property ClientCertSet client certificate, the parameter should be valid CERT_CONTEXT structure.
Public Property ExecutionModeSet execution mode
Public Property UseInstanceCacheUse instance cache of settings storages
See Also

ConnectionSettings Members