-
I'm using Node-Locked model in online mode and it works like a charm.
I'm wondering how to use this licensing model with the offline file option, as some of my customers won't be having internet connection. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Indeed, the standard use-case for Node-Locked licensing model is online validation, where particular device/node/machine (identified by unique fingerprint) is automatically paired with the customer identifier. |
Beta Was this translation helpful? Give feedback.
-
Node-Locking can be implemented by assigning a unique ID to one of the License(-s) as custom property/tag. This field will be returned with the validation response and need to be verified in your application. Please follow the steps:
Sample offline licensing file <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:netlicensing xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:ns2="http://netlicensing.labs64.com/schema/context" ttl="2021-01-07T14:21:30.194Z">
<Signature>
<SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<Reference URI="">
<Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>4Spgi6EVJVEmmmzPD75nsoyDW6c=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>mRqE4nvD8W6jE1h/dEnQ49VIPBCMRbrSu5cHcVujgde13CpD/cz4MqdWgAFde5WIBXA6/XuXEBEWbe0DDEx+VV8R/KRQJNKOoFoqrqpPm/Cr112ZbXofjLsnr8Ix6UL5OaMo4Pk4WDw9JXH7nsu/DVmI1g6CyQP7IPhhBFMlwcWLMvBPSVBy0pNazUXhJwPkYe7dG3VPuCDWfpLMG4+b9wxkzibAGkx30+3P4ZvLxlvOxaL3iaaYNIuXJTMubo54jjKFT/eru9xpQLXjnLYjX6ZUqQ8GkJGqVwRlH+fd42aLhgl5EUg1H45AKo69KF/HXoZCOopLioVKbk8W/Z22+w==</SignatureValue>
</Signature><ns2:infos/>
<ns2:items>
<ns2:item type="ProductModuleValidation">
<ns2:property name="productModuleNumber">M-DEMO1</ns2:property>
<ns2:property name="valid">true</ns2:property>
<ns2:property name="expires">2021-02-16T00:00:00Z</ns2:property>
<ns2:property name="productModuleName">ABO</ns2:property>
<ns2:property name="fingerprint">subscription_123</ns2:property>
<ns2:property name="licensingModel">Subscription</ns2:property>
</ns2:item>
<ns2:item type="ProductModuleValidation">
<ns2:property name="productModuleNumber">M3TN64NIW</ns2:property>
<ns2:property name="productModuleName">Features</ns2:property>
<ns2:property name="licensingModel">MultiFeature</ns2:property>
<ns2:list name="EWIMS7KKG">
<ns2:property name="valid">false</ns2:property>
<ns2:property name="featureName">Analytics</ns2:property>
</ns2:list>
<ns2:list name="EAP3YYSWG">
<ns2:property name="valid">false</ns2:property>
<ns2:property name="featureName">Reporting</ns2:property>
</ns2:list>
<ns2:list name="ECPU9R5MU">
<ns2:property name="valid">true</ns2:property>
<ns2:property name="featureName">Backup</ns2:property>
<ns2:property name="fingerprint">multifeature_123</ns2:property>
</ns2:list>
</ns2:item>
<ns2:item type="ProductModuleValidation">
<ns2:property name="productModuleNumber">MNCN4ZK25</ns2:property>
<ns2:property name="valid">true</ns2:property>
<ns2:property name="productModuleName">Count</ns2:property>
<ns2:property name="quota">2000</ns2:property>
<ns2:property name="fingerprint">quota_123</ns2:property>
<ns2:property name="licensingModel">Quota</ns2:property>
</ns2:item>
</ns2:items>
</ns2:netlicensing> |
Beta Was this translation helpful? Give feedback.
Node-Locking can be implemented by assigning a unique ID to one of the License(-s) as custom property/tag. This field will be returned with the validation response and need to be verified in your application.
Please follow the steps: