Mono Class Library: System.Uri Overview | Members

System.Uri.IsDefaultPort Property

Gets a bool value indicating whether the Uri.Port value of the current instance is the default port for the scheme of the current instance.

public bool IsDefaultPort { get; }

Value

true if the value in the Uri.Port property is the default port for the Uri.Scheme ; otherwise, false.

Remarks

This property is read-only.

Note: For a list of default port values, see the Uri.Port property.

Requirements

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