Gets or sets the Host.

Namespace: ININ.IceLib.Connection
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public string Host { get; set; }
Visual Basic
Public Property Host As String
	Get
	Set

Field Value

The host.

Remarks

This property specifies the host to connect to. The default is DefaultHost. Setting this property will attempt to parsed for the [host]:[port] format. If the port is not specified in this format, it remains unchanged from what it was previously.

Examples

The IceLib SDK includes example application references to the Host property. Some examples are listed below.
ProjectLocation
TutorialExampleLoginHostViewModel.cs, line 20, in LoginHostViewModel.#ctor

Exceptions

ExceptionCondition
System..::..ArgumentExceptionThe host string is empty.
System..::..ArgumentNullExceptionThe host string is nullNothingnullptra null reference (Nothing in Visual Basic).

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.

See Also