Export (0) Print
Expand All
Expand Minimize

UriHostNameType Enumeration

Defines host name types for the Uri.CheckHostName method.

[Visual Basic]
<Serializable>
Public Enum UriHostNameType
[C#]
[Serializable]
public enum UriHostNameType
[C++]
[Serializable]
__value public enum UriHostNameType
[JScript]
public
   Serializable
enum UriHostNameType

Remarks

The UriHostNameType enumeration defines the values that the Uri.CheckHostName method can return.

Members

Member name Description
Basic

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

The type of the host name is not supplied.

Requirements

Namespace: System

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System (in System.dll)

See Also

System Namespace

Show:
© 2014 Microsoft