Class StateHelper
This is a class to validate the connection with the Secure Exchanges server
Inherited Members
Namespace: SecureExchangesSDK.Helpers
Assembly: SecureExchangesSDK.dll
Syntax
public static class StateHelper
Methods
TestServer(IEndPointConfiguration, string)
Validate if the server answer your request
Declaration
public static bool TestServer(IEndPointConfiguration endPoint, string version)
Parameters
| Type | Name | Description |
|---|---|---|
| IEndPointConfiguration | endPoint | You can use a BaseEndPointConfiguration to setup your configuration if you don't have |
| string | version |
Returns
| Type | Description |
|---|---|
| bool | If the connection is successfull return true |
Examples
TestServer(new BaseEndPointConfiguration(new Uri("https://www.secure-exchanges.com/_api/0217/0217.asmx")));