Export (0) Print
Expand All

EndpointPermission.Hostname Property

Gets the DNS host name or IP address of the server that is associated with this endpoint.

Namespace:  System.Net
Assembly:  System (in System.dll)

public string Hostname { get; }

Property Value

Type: System.String
A string that contains the DNS host name or IP address of the server.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft