  | WikiClientHelperBuildUserAgent(Assembly) Method | 
This is preliminary documentation and is subject to change.
            Builds a valid 
User-Agent header value from the information inferred from the specified assembly,
            which can be used in 
ClientUserAgent.
            
 Namespace: WikiClientLibrary.ClientAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.4+fbadc980737ddc9bb67116900ecad57f84a0b241
Syntaxpublic static string BuildUserAgent(
	Assembly assembly
)
Public Shared Function BuildUserAgent ( 
	assembly As Assembly
) As String
Dim assembly As [Assembly]
Dim returnValue As String
returnValue = WikiClientHelper.BuildUserAgent(assembly)
public:
static String^ BuildUserAgent(
	Assembly^ assembly
)
static member BuildUserAgent : 
        assembly : Assembly -> string Parameters
- assembly  Assembly
 - The assembly from which to acquire the user agent information.
 
Return Value
StringA 
User-Agent header value string, in the form 
assembly-name/assembly-version (comment), such as 
App1/1.0.
RemarksTo generate User-Agent for your application automatically, use BuildUserAgent(typeof(Program), "comment"),
            where Program is a class in your application assembly.
See Also