ServiceClient<T>.SetUserAgent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetUserAgent(String) | |
SetUserAgent(String, String) |
SetUserAgent(String)
public bool SetUserAgent (string productName);
member this.SetUserAgent : string -> bool
Public Function SetUserAgent (productName As String) As Boolean
Parameters
- productName
- System.String
Returns
- System.Boolean
Applies to
SetUserAgent(String, String)
public bool SetUserAgent (string productName, string version);
member this.SetUserAgent : string * string -> bool
Public Function SetUserAgent (productName As String, version As String) As Boolean
Parameters
- productName
- System.String
- version
- System.String
Returns
- System.Boolean