About licensee validation #76
-
Hi, We notice that function validate (LicenseeService.validate(...)) doesn't have same print like before. Previously it had 5 params (contex, licenceNumber, ValidationParameters, SessionId, action), now it have only first three (without sessionId and action) and as validation result we don't get floating productModul only subscription. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello, Possibly there is a small confusion - LicenseeService class wasn't changed in regards to this method signature since 2014! - see changelog as a reference - https://github.com/Labs64/NetLicensingClient-csharp/commits/master/NetLicensingClient/LicenseeService.cs Handling of Licensing Model specific attributes (such as Floating or Node-Locked) is being done in the ValidationParameters class. Typical usage for this scenarion would be as below:
This class is taking care of necessary attributes indexing accordingly to the REST API documentation. |
Beta Was this translation helpful? Give feedback.
-
Thank you R-Brown. The problem was that earlier I put "sessionId" and "action" directly like function parameters. Now I must send them throw "validationParameters" (I didn't know that). Thanks again. Problem solved... |
Beta Was this translation helpful? Give feedback.
Hello,
Possibly there is a small confusion - LicenseeService class wasn't changed in regards to this method signature since 2014! - see changelog as a reference - https://github.com/Labs64/NetLicensingClient-csharp/commits/master/NetLicensingClient/LicenseeService.cs
Handling of Licensing Model specific attributes (such as Floating or Node-Locked) is being done in the ValidationParameters class.
Typical usage for this scenarion would be as below: