Java.Net.URLStreamHandler.DefaultPort Property
Returns the default port of the protocol used by the handled URL.

Syntax

[get: Android.Runtime.Register("getDefaultPort", "()I", "GetGetDefaultPortHandler")]
protected virtual int DefaultPort { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Returns the default port of the protocol used by the handled URL. The default implementation always returns -1.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1