GetInstance

GetInstance(string, NetworkCredential)

Gets an instance of the ActiveSync client The version of the ActiveSync protocol is selected automatically according to server response.

public static IActiveSyncTLClient GetInstance(string uri, NetworkCredential credentials)
Parameter Type Description
uri String server uri
credentials NetworkCredential user credentials

Return Value

Returns an instance of the ActiveSync client

See Also


GetInstance(string, NetworkCredential, ASProtocolVersions)

Gets an instance of the ActiveSync client

public static IActiveSyncTLClient GetInstance(string uri, NetworkCredential credentials, 
    ASProtocolVersions version)
Parameter Type Description
uri String server uri
credentials NetworkCredential user credentials
version ASProtocolVersions ActiveSync protocol version

Return Value

Returns an instance of the ActiveSync client

See Also