OperationContext.CustomUserAgent Property


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.


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

Applies to