C # in a Nutshell, Second Edition

UriHostNameType CF 1.0, ECMA 1.0, serializable

System (system.dll) enum

This enumeration is used for the Uri.CheckHostName( ) method. Basic indicates that the host is set, but cannot be determined.

public enum UriHostNameType { Unknown = 0 , Basic = 1 , Dns = 2 , IPv4 = 3 , IPv6 = 4 }

Hierarchy

Object ValueType Enum(IComparable, IFormattable , IConvertible) UriHostNameType

Returned By

Uri.{CheckHostName( ) , HostNameType}

Категории