| WikiClientHelperBuildUserAgent(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
)
Public Shared Function BuildUserAgent (
productName As String
) As String
Dim productName As String
Dim returnValue As String
returnValue = WikiClientHelper.BuildUserAgent(productName)
public:
static String^ BuildUserAgent(
String^ productName
)
static member BuildUserAgent :
productName : string -> string
Parameters
- productName String
- Product name.
Return Value
StringA
User-Agent header value string, in the form
productName/productVersion (comment).
Exceptions See Also