Introduction
Runtime Modules: | xxdotnetclient.dll (The .NET Client Library is available for Windows only.) |
.NET Framework version required: | 4.5 |
Setup: | Put xxdotnetclient in your application path |
Main Class: | XXDotNetClient |
You can download the client software and examples in our Download-Section, if you are logged in.
XXDotNetClient Object Methods
Return Type | Method Name | Method parameters | Default Value | Description |
---|---|---|---|---|
void | set_Host | (String strHost) | localhost | Sets server IP address or URL value. |
String | get_Host | () | - | Returns the current IP address or URL value. |
void | set_Port | (long lPort) | non-SSL: 8800 SSL: 443 | Sets server SOAP port value. |
long | get_Port | () | - | Returns the current SOAP port value. |
void | set_TC | (String strTC) | - | Sets transaction control data (TC). |
String | get_TC | () | - | Returns the current transaction control data value (TC). |
String | get_Error | () | - | Returns error code value. |
void | set_SSL | (bool bSSL) | false | Sets TLS with 128-bit data encryption. |
bool | get_SSL | () | - | Returns true or false depending on whether SSL is activated or not. |
void | set_Native | (bool bNative) | false | Sets the mode to send request in providers native format. |
bool | get_Native | () | - | Returns true or false depending on whether native sending mode is activated or not. |
void | set_Compress | (bool bCompress) | true | Sets data compression. (Recommended for performance reasons). |
bool | get_Compress | () | - | Returns true or false depending on whether compression is activated or not. |
void | set_Timeout | (long iTimeout) | 360 | Sets the timeout value for waiting response time in seconds. |
long | get_Timeout | () | - | Returns timeout value in seconds. |
void | set_ProxyHost | (String strProxyHost) | - | Sets proxy server IP-address or URL. |
String | get_ProxyHost | () | - | Returns current proxy server IP-address or URL |
void | set_ProxyPort | (int iProxyPort) | - | Sets proxy server port value. |
int | get_ProxyPort | () | - | Returns current proxy server port value. |
bool | set_EnableCertAuth | (bool bValue) | true | Accessing an XX1 server via SSL by its IP address instead of its domain name will fail with an SSL certificate authentication error if the SSL certificate is only valid for the domain name. This method allows disabling SSL certificate authentication. |
bool | get_EnableCertAuth | () | - | Returns true or false depending on whether certificate validation is activated or not. |
long | GetSession | () | - | Locks a session on the host and carries a context. Returns:
|
long | ReleaseSession | (long lSession) | - | Unlocks a session previously locked with GetSession. Returns:
|
String | Transaction | (String strReq) | - | Performs the current transaction. Sends the XX1 request data to server and receives the response. |