I believe there is a problem with the UUIDMBS.randomUUID shared method for
random generation of UUIDs.
Look at this code:
for i as integer = 1 to 10
TextArea1.appendText UUIDMBS.randomUUID.ValueHexString + endOfLine
next
The code above will generate ALWAYS the same UUID in the same exact sequence.
So it's not random at all.
It lacks seeding it in some way...
If I change the code in this way:
for i as integer = 1 to 10
dim n as new UUIDMBS
TextArea1.appendText n.UUID.ValueHexString + endOfLine
next
then it works, and I get at every launch of the application different random
UUIDs.
Massimo Valle
SACO Software and Consulting GmbH, Mühlgasse 5, D-97840 Hafenlohr
Tel.: ++49 9391 90890-0, Fax: ++49 9391 90890-99, E-Mail: [email protected]
Amtsgericht Würzburg HRB 5410, Geschäftsführer: Peter Schubert,
Dipl.-Wirt.ing.(FH) Thorsten Beck
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info