Platforms to show: All Mac Windows Linux Cross-Platform

Back to RegistrationEngineMBS class.

RegistrationEngineMBS.Alphabet as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Registration MBS Util Plugin 9.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The characters to use for serial numbers.
Example
dim r as new RegistrationEngineMBS

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

r.Alphabet="ABC123"
MsgBox r.Calc // shows: A1AC-2312-12CC

r.Alphabet="0123456789"
MsgBox r.Calc // shows: 4308-2905-4013

Must have at least two characters.
Characters must be unique.
Default is "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".
(Read and Write property)

Some examples using this property:

RegistrationEngineMBS.BlockLength as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Registration MBS Util Plugin 9.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The Length of the blocks in the serial number.
Example
dim r as new RegistrationEngineMBS

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

r.NumberLength=10
r.BlockLength=5
MsgBox r.Calc // shows: ICYRR-ES4UX

r.NumberLength=16
r.BlockLength=4
MsgBox r.Calc // shows: ICYR-RES4-UXQ1

If this value is 0, no delimeters are used.
(Read and Write property)

Some examples using this property:

RegistrationEngineMBS.Delimiter as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Registration MBS Util Plugin 9.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The delimiter string to use for separating blocks in the serial number.

Default is "-".
(Read and Write property)

Some examples using this property:

RegistrationEngineMBS.Mode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Registration MBS Util Plugin 9.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The mode of operation.

Currently always 0.
Set to 1 to use 128bit instead of 64bit number.
(Read and Write property)

RegistrationEngineMBS.NumberLength as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Registration MBS Util Plugin 9.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The maximum length of the number.
Example
dim r as new RegistrationEngineMBS

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

r.NumberLength=10
r.BlockLength=5
MsgBox r.Calc // shows: ICYRR-ES4UX

r.NumberLength=16
r.BlockLength=4
MsgBox r.Calc // shows: ICYR-RES4-UXQ1

(Read and Write property)

Some examples using this property:

RegistrationEngineMBS.Platform as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Registration MBS Util Plugin 9.6 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Which platform to use for platform specific keys.

Value is set in the constructor to current platform, but you can change it if you want to run the key generator on a different platform.

Values are:
1Mac
2Windows
3Linux

All other values behave like PlatformSpecificKeys is false.
This value is only used if PlatformSpecificKeys is true.
(Read and Write property)

RegistrationEngineMBS.PlatformSpecificKeys as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Registration MBS Util Plugin 9.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether you want platform specific keys.

Set to false if you want to have Windows, Mac OS X and Linux all use the same serial numbers.
Set to true if you want to different serial numbers depending on the platform.

Default is false.
(Read and Write property)

Some examples using this property:

RegistrationEngineMBS.Prefix as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Registration MBS Util Plugin 9.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The prefix for the serial number string.

(Read and Write property)

RegistrationEngineMBS.Seed as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Registration MBS Util Plugin 9.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
A seed value you can set to get your serial number more unique.

(Read and Write property)

RegistrationEngineMBS.Suffix as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Registration MBS Util Plugin 9.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The suffix for the serial number string.
Example
dim r as new RegistrationEngineMBS

r.Field(0)="Hello World"
r.Field(1)="Xojo"
r.suffix="-RB600CPFUSA-MAC"

r.BlockLength=8
r.NumberLength=32

MsgBox r.Calc
// shows: EV6GG9P2-DI533EV6-GG9P2DI5-33EV6GG9-RB600CPFUSA-MAC
// looks like a Xojo serial number ;-)

(Read and Write property)

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


The biggest plugin in space...