Gets or sets the DNS host name or IP address that is specified by this System.Net.SocketPermissionAttribute.
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 and specifies the Domain Name Services (DNS) host name to which this permission applies.