Share via


HttpEngine.Builder.DefaultUserAgent Property

Definition

Constructs a default User-Agent string including the system build version, model and id, and the HTTP stack version.

public virtual string DefaultUserAgent { [Android.Runtime.Register("getDefaultUserAgent", "()Ljava/lang/String;", "GetGetDefaultUserAgentHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getDefaultUserAgent", "()Ljava/lang/String;", "GetGetDefaultUserAgentHandler", ApiSince=34)>]
member this.DefaultUserAgent : string

Property Value

User-Agent string.

Attributes

Remarks

Constructs a default User-Agent string including the system build version, model and id, and the HTTP stack version.

Java documentation for android.net.http.HttpEngine.Builder.getDefaultUserAgent().

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