Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum System.UriHostNameType

Assembly: System.Runtime

Defines host name types for the <see cref="M:System.Uri.CheckHostName(System.String)" /> method.

Values

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.