UriHostNameType Enumeration
TOC
Collapse the table of content
Expand the table of content

UriHostNameType Enumeration

 

Defines host name types for the Uri.CheckHostName method.

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

public enum UriHostNameType

Member nameDescription
Basic

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

Dns

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

IPv4

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

IPv6

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

Unknown

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
Show:
© 2016 Microsoft