set 


Interface Information
>This API belongs to SentinelLicensing.jar.
>The corresponding library is Sentinel RMS licensing library.
Description
Sets a {key, value} pair in attribute object.
Syntax
void set(String key, String value)
Parameters
Argument | Description |
key [in] |
The key for the attribute to be set. For example, SNTL_ATTR_APPCONTEXT_CONTACT_SERVER is the key for setting the License Manager. |
value [in] |
The value set for the corresponding key. For example, 'localhost' value can be specified for the SNTL_ATTR_APPCONTEXT_CONTACT_SERVER key |
Exception Handling
If unsuccessful, throws LicensingException or UnsupportedEncodingException.