ModuleLicensesHelperCreateModuleLicense Method |
Creates a module license containing given module license data and signature based on given private key.
Namespace: CMS.ModuleLicensesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 12.0.0
Syntax public static string CreateModuleLicense(
string licenseData,
string privateKey
)
Parameters
- licenseData
- Type: SystemString
Data to be stored in module license - privateKey
- Type: SystemString
Private key, generated by GenerateKeyPair(String, String) used for signing module license data
Return Value
Type:
StringModule license containing given module license data and signature
Exceptions See Also