Gets or sets the DNS host name or IP address specified by the current instance.
A string containing a DNS host name or IP address.
Type Reason ArgumentException SocketPermissionAttribute.Host is being set and is not null.
This property is write-once. Once this property has been set to a non-null value, attempts to set this property to new value cause a ArgumentException.
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0