System.UriHostNameType Enumeration

Namespace: System

Specifies the type of host name specified in a Uri.

public enum UriHostNameType

Members

Remarks

The UriHostNameType enumeration is returned by the Uri.HostNameType property.

This enumeration is used to determine the type of host name specified in a Uri. This can be useful for security purposes or for correctly formatting the Uri.

See Also