Mono Class Library: System.Uri Overview | Members

System.Uri.HostNameType Property

Gets the format of the host address in the URI used to construct the current instance.

public UriHostNameType HostNameType { get; }

Value

A UriHostNameType that indicates the format of the host address information in the current instance.

Remarks

This property is read-only.

If Uri.Host is null, the value of this property is UriHostNameType.Unknown .

Requirements

Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0