| WikiClientHelperBuildUserAgent(String, String, String) Method |
This is preliminary documentation and is subject to change.
Builds a valid
User-Agent header value that can be used in
ClientUserAgent.
Namespace: WikiClientLibrary.ClientAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static string BuildUserAgent(
string productName,
string? productVersion,
string? comment
)
Public Shared Function BuildUserAgent (
productName As String,
productVersion As String,
comment As String
) As String
Dim productName As String
Dim productVersion As String
Dim comment As String
Dim returnValue As String
returnValue = WikiClientHelper.BuildUserAgent(productName,
productVersion, comment)
public:
static String^ BuildUserAgent(
String^ productName,
String^ productVersion,
String^ comment
)
static member BuildUserAgent :
productName : string *
productVersion : string *
comment : string -> string
Parameters
- productName String
- Product name.
- productVersion String
- Product version, or null.
- comment String
- Comment, or null.
Return Value
StringA
User-Agent header value string, in the form
productName/productVersion (comment).
Exceptions See Also