Platforms to show: All Mac Windows Linux Cross-Platform

Back to RegistrationEngineMBS class.

RegistrationEngineMBS.Calc as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Registration MBS Util Plugin 9.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Calculates the serial number.

RegistrationEngineMBS.Field(index as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Registration MBS Util Plugin 9.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The data fields you can use for personalized serial numbers.

Fill this fields with all the values you want to use for personalized serial numbers. You should use the name of the user, maybe the postal address. You can use hardware values like the MAC address or software values like the system folder creation date.
Also you may have serial numbers different between version 1.x and 2.x of your application. So you pass version information like "1" or "2". Do not pass values like "1.2.3" as this serial number won't work on "1.2.4".

Index is from 0 to 7.
(Read and Write computed property)

RegistrationEngineMBS.Verify(s as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Registration MBS Util Plugin 9.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Verifies the serial number.
Example
Dim r As New RegistrationEngineMBS

r.Field(0)="Hello World"
r.Field(1)="MyProduct 2008"

Dim key As String = r.Calc

If r.Verify(key) Then
MsgBox "OK"
Else
MsgBox "Failed"
End If

If you only use upper case letter for your serial numbers, use a function like uppercase before calling verify. This way you avoid that a serial number "abc" is invalid because it is not "ABC".
Returns true on success and false on failure.

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...