Name

UriHostNameType

Synopsis

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}

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.