Machine UUID (was Re: Creating a unique number / ID in Omnis Studio_
Mike Matthews - Omnis
omnis at lineal.co.uk
Thu Mar 23 21:45:05 UTC 2023
You are not mistaken Stephen.
But adding them together stops HD swap out I guess. So add them all together and you get a unique setup ID.
Our Glorious HMCR seem to be happy now, phew :)
Thanks
Mike Matthews
Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>
omnis at lineal.co.uk<mailto:mike.matthews at lineal.co.uk>
www.lineal.co.uk<http://www.lineal.co.uk/>
www.sqlworks.co.uk<http://www.sqlworks.co/>
On 23 Mar 2023, at 20:24, Stephen Miller <stephenmiller1958 at gmail.com<mailto:stephenmiller1958 at gmail.com>> wrote:
Caution: This is a message which has originated from outside the organisation. Ensure the sender is trusted and the content is safe before opening links or attachments.
Hope to be corrected if wrong but my understanding is that:
a) The boot hard drive id is unique world wide
b) The MAC address is unique worldwide
c) The SPID is unique for the current database session.
Kind Regards,
Stephen Miller
0455461581
On Thu, 23 Mar 2023 at 18:31, Mike Matthews - Omnis via omnisdev-en <omnisdev-en at lists.omnis-dev.com<mailto:omnisdev-en at lists.omnis-dev.com>> wrote:
Thanks Kelly! :)
Mike Matthews
Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>
omnis at lineal.co.uk<mailto:omnis at lineal.co.uk><mailto:mike.matthews at lineal.co.uk<mailto:mike.matthews at lineal.co.uk>>
www.lineal.co.uk<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.lineal.co.uk&c=E,1,orG6OvZwxXcwtGiNBUPhokv1CplvG6c3lWTkjbAe2-cvX00Iun-b5Oq8_t0wMx64YfGjn9-Q-diXIakEe3EZMxYHqLclOyYXYOp-97gErJAcuFMsyg,,&typo=1><http://www.lineal.co.uk/<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.lineal.co.uk%2f&c=E,1,TTVVdXDWtFr2avnXxC0_1ivYVeInzws5r8S36ctDduo2RppHwSn8OKLpPfVDRAqYGwIEGgxWwkw0J7cM3rPOucp9e006PnJRpVGx--8UIg,,&typo=1>>
www.sqlworks.co.uk<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.sqlworks.co.uk&c=E,1,stvuJJhOP7rpHAVYSg2VbvSV1qDq3ml1wIXZWnmJ5Fbc3hHq6yXBnq1_VxJsRFroWVDd66Y6rT3KtNGJGUkrXnwUNsTHTxQHVIGd3C4RgxyzVbz_iw,,&typo=1><http://www.sqlworks.co/<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.sqlworks.co%2f&c=E,1,huZOR2S3yvJyCzaZEWpFMQOk8QQNG9ZCALGmRfg7nucC46CyWwH1KcCjERPkW1WZK0lgy1U5zYBILo5iQ7AVpEnWz004O95Dp_DfQs4en0veFaTEXEo,&typo=1>>
On 23 Mar 2023, at 00:03, Kelly Burgess <kellyb at montana.com<mailto:kellyb at montana.com><mailto:kellyb at montana.com<mailto:kellyb at montana.com>>> wrote:
Caution: This is a message which has originated from outside the organisation. Ensure the sender is trusted and the content is safe before opening links or attachments.
Hi Mike,
Apparently the format of the OW3.$gethardwareid() I am using is not good enough ..
Submit a UUID which is 128 bits or 32 hex characters long
# Gov-Client-Device-ID: beec798b-b366-47fa-b1f8-92cede14a1ce
# Omnis version : 69CW-EQK5-B92I-YYY5-69CD-7MK5-BY2Q-7XKZ
So how do you convert the OW3 result into either a 128 bits or 32 hex characters long string?
This will give you a 32-character hex string based on the machine ID.
Calculate uuid as OXML.$md5hexdigest(OW3.$gethardwareid())
Kelly
_____________________________________________________________
Manage your list subscriptions at https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.omnis-dev.com&c=E,1,27EsQwwmA84rIJVVe3dP69ZiAsrUyWybLjY7Ua11hrqNgVef2fS8w9isVkhRtcti-BM7UrteKdCNmT4qQ8iT029nMH5rX4-hbnxPkmHatfs,&typo=1
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com<mailto:omnisdev-en at lists.omnis-dev.com>
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.omnis-dev.com&c=E,1,a4yRjR2RGJVZ7DyoHWHyXtf9sg14yAZ_rraRkp-DsZyVOpsUtJxuLjzBiWDgTEcbv7D7b1lH-aldy1_UiMpgiimSmafpSCiWX3S5TUSdLkj6uQ4TlTm5r1-W&typo=1>
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com<mailto:omnisdev-en at lists.omnis-dev.com>
More information about the omnisdev-en
mailing list