Secure Exchanges SDK Documentation
Search Results for

    Show / Hide Table of Contents

    Class StateHelper

    This is a class to validate the connection with the Secure Exchanges server

    Inheritance
    object
    StateHelper
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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")));
    In this article
    Back to top Secure Exchanges Inc. - Documentation