Language

HttpsRecord.TargetName Property

Definition

Returns the target name of the HTTPS record.

public virtual string TargetName { [Android.Runtime.Register("getTargetName", "()Ljava/lang/String;", "GetGetTargetNameHandler", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getTargetName", "()Ljava/lang/String;", "GetGetTargetNameHandler", ApiSince=37)>]
member this.TargetName : string

Property Value

Attributes

Remarks

Returns the target name of the HTTPS record.

If the target name is an empty string, RFC 9460 2.5 specifies that this indicates special rules. For AliasMode RRs, this indicates that the service is not available or does not exist. For ServiceMode RRs, this indicates the record's owner name is the effective target name.

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

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