Język

HttpsRecord.Port Property

Definition

Returns the port of the HTTPS record, defaulting to 443 if not specified in the record.

public virtual int Port { [Android.Runtime.Register("getPort", "()I", "GetGetPortHandler", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getPort", "()I", "GetGetPortHandler", ApiSince=37)>]
member this.Port : int

Property Value

Returns the port of the HTTPS record, defaulting to 443 if not specified in the record.

Attributes

Remarks

Returns the port of the HTTPS record, defaulting to 443 if not specified in the record.

See RFC 9460 7.2 for more details.

Android reference for android.net.dns.HttpsRecord.getPort.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to