G
George
I want to create a unique id for each of a set of objects.
These ids may be generated on multiple machines simultaneously and must all
be different to each other.
There are an undefined number of machines involved (1 to dozens) and an
indeterminate number of objects (many to very many on each machine).
My best guess for a solution would be to use a GUID (all the machines have
an ethernet connection so a GUID generated on any of them should not
conflict with any other).
The question is how do I generate a GUID from VB.NET?
I don't really want to use unmanaged code if I can avoid it but I can write
some sort of managed wrapper for it if I have to.
Thanks, in advance,
George.
These ids may be generated on multiple machines simultaneously and must all
be different to each other.
There are an undefined number of machines involved (1 to dozens) and an
indeterminate number of objects (many to very many on each machine).
My best guess for a solution would be to use a GUID (all the machines have
an ethernet connection so a GUID generated on any of them should not
conflict with any other).
The question is how do I generate a GUID from VB.NET?
I don't really want to use unmanaged code if I can avoid it but I can write
some sort of managed wrapper for it if I have to.
Thanks, in advance,
George.