UserAgentHelper.BuildUserAgent(IUserAgentConfiguration) 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.
Builds a User-Agent header string from the provided configuration.
public static string BuildUserAgent(Microsoft.Agents.A365.Runtime.IUserAgentConfiguration config);
static member BuildUserAgent : Microsoft.Agents.A365.Runtime.IUserAgentConfiguration -> string
Public Shared Function BuildUserAgent (config As IUserAgentConfiguration) As String
Parameters
- config
- IUserAgentConfiguration
The user agent configuration.
Returns
A formatted User-Agent header string.