GetInstance

ActiveSyncTLClient.GetInstance method (1 of 2)

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


ActiveSyncTLClient.GetInstance method (2 of 2)

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