EndpointPermission.Hostname Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 1.1
Return to top
Show: