public enum UriHostNameType
Object
ValueType
Enum
UriHostNameType
System
Networking
Specifies the format of host names.
[Note: The UriHostNameType enumeration defines the values returned by the System.Uri.CheckHostName(System.String) method.]
System Namespace
UriHostNameType Fields
UriHostNameType.Dns Field
UriHostNameType.IPv4 Field
UriHostNameType.IPv6 Field
UriHostNameType.Unknown Field
UriHostNameType.value__ Field
Dns = 2;
Specifies that the host name is a domain name system (DNS) style host address.
System.UriHostNameType Enum, System Namespace
IPv4 = 3;
Specifies that the host name is an Internet Protocol (IP) version 4 host address.
System.UriHostNameType Enum, System Namespace
IPv6 = 4;
Specifies that the host name is an Internet Protocol (IP) version 6 host address.
System.UriHostNameType Enum, System Namespace
Unknown = 0;
Specifies the format of a host name is not known or no host information is present.
System.UriHostNameType Enum, System Namespace
value__;
System.UriHostNameType Enum, System Namespace