[TIBCO.EMS .NET client library 6.3 documentation]

Set the target host name.

Namespace:  TIBCO.EMS
Assembly:  TIBCO.EMS (in TIBCO.EMS.dll)

Syntax

public static void SetTargetHostName(
	string hostname
)
Public Shared Sub SetTargetHostName ( _
	hostname As String _
)
public:
static void SetTargetHostName(
	String^ hostname
)

Parameters

hostname
Type: System..::.String
The name of the server as defined in the server's certificate. Usually the server's HostName is specified as the CN in the server's certificate. This value must match the name on the server's certificate server name.

Remarks

This is a required parameter for all .NET SSL connections. Because System.Net.Security.SslStream requires a target host, this value is required.

See Also