ConnectionSettings Object
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.
Interfaces
Implemented InterfaceDescription
IConnectionSettingsIConnectionSettings interface
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 BypassProxyBypassProxy
Public Method CloneToGet copy object
Public Method CloneTo2Clone extended settings
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 Method UseSystemProxyUse system default proxy
Public Properties
Public Property AutologonSecurityPolicyGet security policy.
Public Property BasicAuthHeaderModeSet force auth header param
Public Property ClientCertSet client certificate, the parameter should be valid CERT_CONTEXT structure.
Public Property ConnectionTimeoutConnection timeout.
Public Property CurrentProxyModeProxy mode.
Public Property EnabledSecureProtocolsGet enabled secure protocols.
Public Property ExecutionModeSet execution mode
Public Property ForceAddBasicAuthHeaderSet force add basic auth header param.
Public Property SecurityIgnoreFlagsGet connection security flags.
Public Property UseDefaultUserAgentGet 'Use default user agent' flag.
Public Property UseInstanceCacheUse instance cache of settings storages
See Also