Click or drag to resize

LicensingClient Constructor

Constructs a Licensing web service client helper. This class allows .NET client applications to work with the Licensing service in a strongly-typed way that avoids making direct network calls.

Namespace: RCS.Licensing.Stdlib
Assembly: RCS.Licensing.Stdlib (in RCS.Licensing.Stdlib.dll) Version: 8.0.0+6a10b18a78f605fc5a365a56d079277e103ee6d9
Syntax
C#
public LicensingClient(
	string userAgent,
	string? authKey = null,
	string? baseAddress = null,
	int timeoutSeconds = 20
)

Parameters

userAgent  String
A string that identifies the calling application. The value is placed into the http request headers and can be seen in web logs and traffic monitors. The value is usually in the format appname/version. For example: My Program/1.2.
authKey  String  (Optional)
An authorisation key is required to read or update confidential information in the database. If a null key is passed than only GetInfo> and the Authenticate related methods may be called.
baseAddress  String  (Optional)
Override base address of the web service. The value will typically be in the format http(s)://{domainname}/licensing2/ When this parameter is omitted or null, the default is the base address of the live service.
timeoutSeconds  Int32  (Optional)
The web service request timeout seconds. The default value is 20.
See Also