Share via


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)

Syntax

'Declaration
Public Enumeration UriHostNameType
public enum UriHostNameType
public enum class UriHostNameType
type UriHostNameType
public enum UriHostNameType

Members

Member name Description
Unknown The type of the host name is not supplied.
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.

See Also

Reference

System Namespace