Udostępnij za pośrednictwem


HttpProtocolParams.SetUserAgent(IHttpParams, String) Method

Definition

[Android.Runtime.Register("setUserAgent", "(Lorg/apache/http/params/HttpParams;Ljava/lang/String;)V", "")]
public static void SetUserAgent (Org.Apache.Http.Params.IHttpParams? params, string? useragent);
[<Android.Runtime.Register("setUserAgent", "(Lorg/apache/http/params/HttpParams;Ljava/lang/String;)V", "")>]
static member SetUserAgent : Org.Apache.Http.Params.IHttpParams * string -> unit

Parameters

params
IHttpParams
useragent
String
Attributes

Remarks

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