Class Attribute
This class provides implementation of an attribute object. An attribute object is a collection of {key, value} pairs that defines an API's additional input parameters. The attribute object containing {key, value} pairs is provided in the following cases:
- While calling the login, getInfo, logout, and refresh APIs
- While creating an instance of the Identity class
For example, the LoginSession.login API accepts an attribute object to specify the feature version, required login units, and so on. To define the {key, value} pairs, the set API is to be used.
NOTE A key value should be a constant from the LicensingConstants class only.
Namespace: SentinelCloud.Services.Licensing (Contain classes that helps in licensing operations such as requesting, updating, and releasing a license.)
Assembly: SentinelLicensing.dll
Constructors
Syntax | Description |
---|---|
Attribute() |
Default constructor of the Attribute class. Creates an attribute object instance. |
APIs
Modifier and Type | API |
---|---|
void |
set(string key, string value) |
void | dispose() |