UriHostNameType Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines host name types for the Uri.CheckHostName method.

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

public enum UriHostNameType

Member nameDescription
UnknownThe type of the host name is not supplied.
BasicThe host is set, but the type cannot be determined.
DnsThe host name is a domain name system (DNS) style host name.
IPv4The host name is an Internet Protocol (IP) version 4 host address.
IPv6The host name is an Internet Protocol (IP) version 6 host address.
Show: