OperationContext.CustomUserAgent Property

Definition

Gets or sets a custom UserAgent value to be prepended to the existing library UserAgent.

public string CustomUserAgent { get; set; }
member this.CustomUserAgent : string with get, set
Public Property CustomUserAgent As String

Property Value

A string containing the specified UserAgent value.

Remarks

This value will be overridden if the UserAgent value is modified via SendingRequestEvent (per instance or global).

Applies to