bool CloseMbLicense(MbLicenseId tMbLicense)
tMbLicense. License instance moniker.
The CloseMbLicense operation checks in license instance.
To execute the operation, in the tMbLicense field specify moniker of the license instance, which should be checked in. The moniker can be obtained on executing the OpenMbLicense operation.
The operation results in the logical True if the license was checked in successfully.
Below is the example of checking in license instance. The request contains moniker of license instance. The response contains whether the license was checked in successfully.
{
"CloseMbLicense" :
{
"tMbLicense" :
{
"id" : "COCEMLBIAJABGOAEBPGPAMOAJHNNIHDENJHCPANBHHDMNFPG!M!S!MbLicHKGDFNBIAJABGOAEAHPAJBPDEDCPLHJEJKKCALFPNECMCIBB"
}
}
}
{
"CloseMbLicenseResult" : "1"
}
public static bool CloseMbLicense(string moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseMbLicense()
{
tMbLicense = new MbLicenseId() { id = moniker }
};
// Close license instance
var result = somClient.CloseMbLicense(tClose);
return result;
}
See also: