System.UriHostNameType Enum

public enum UriHostNameType

Base Types

Object
  ValueType
    Enum
      UriHostNameType

Assembly

System

Library

Networking

Summary

Specifies the format of host names.

Description

[Note: The UriHostNameType enumeration defines the values returned by the System.Uri.CheckHostName(System.String) method.]

See Also

System Namespace

Members

UriHostNameType Fields

UriHostNameType.Dns Field
UriHostNameType.IPv4 Field
UriHostNameType.IPv6 Field
UriHostNameType.Unknown Field
UriHostNameType.value__ Field


UriHostNameType.Dns Field

Dns = 2;

Summary

Specifies that the host name is a domain name system (DNS) style host address.

See Also

System.UriHostNameType Enum, System Namespace

UriHostNameType.IPv4 Field

IPv4 = 3;

Summary

Specifies that the host name is an Internet Protocol (IP) version 4 host address.

See Also

System.UriHostNameType Enum, System Namespace

UriHostNameType.IPv6 Field

IPv6 = 4;

Summary

Specifies that the host name is an Internet Protocol (IP) version 6 host address.

See Also

System.UriHostNameType Enum, System Namespace

UriHostNameType.Unknown Field

Unknown = 0;

Summary

Specifies the format of a host name is not known or no host information is present.

See Also

System.UriHostNameType Enum, System Namespace

UriHostNameType.value__ Field

value__;

See Also

System.UriHostNameType Enum, System Namespace