Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UriHostNameType Enumeration


Defines host name types for the Uri.CheckHostName method.

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

public enum UriHostNameType

Member nameDescription

The host is set, but the type cannot be determined.


The host name is a domain name system (DNS) style host name.


The host name is an Internet Protocol (IP) version 4 host address.


The host name is an Internet Protocol (IP) version 6 host address.


The type of the host name is not supplied.

The UriHostNameType enumeration defines the values that the Uri.CheckHostName method can return.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
© 2016 Microsoft