Machine UUID (was Re: Creating a unique number / ID in Omnis Studio_

Mike Matthews - Omnis omnis at
Wed Mar 22 15:40:22 UTC 2023

Hello All,

Apparently the format of the OW3.$gethardwareid() I am using is not good enough for our beloved UK tax office, HMRC.  They ask for this:

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?


Mike Matthews

On 1 Feb 2023, at 19:41, Andrew Stolarz <stolarz at<mailto:stolarz at>> 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.

Doug / Mike

I asked this to Omnis back in 2017, they stated at that time. (I dont
recall what version of Omnis).


The id is formed from various pieces of information we attempt to get about
the hardware, and this typically includes




On Wed, Feb 1, 2023 at 12:22 PM Doug Easterbrook via omnisdev-en <
omnisdev-en at<mailto:omnisdev-en at>> wrote:

hi kelly.

do you know what this function is based on?    I went to see what my
hardware ID was using apple menu and tried to five into the system reports.

then I read some place that this will give it to you on a mac

ioreg -rd1 -c IOPlatformExpertDevice | awk '/IOPlatformUUID/ { split($0,
line, "\""); printf("%s\n", line[4]); }'

what I got back from the command was the same as what the apple ->about
this mac->system report->ahardware showed

but it is nowhere near what omnis gave (some characters changed to mask
things out)


Apple says :  D18B86BC-****-****-****-9CFC8D48CBFB

omnis says:  JH9H-T4MX-4CG3-YYY2-****-****-****-****

meaning..   it it the real hardware ID?

Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at,1,7rgNEZj_hcMRpFe3yxPQNfG3cs_-SJ09QKPUdE7dBWBzZqxFfu6694O4JNpcNd69as-jPWDhDWj2xz0tcmTER3wZWhn86ImUdWK1KY78gLCaBRqM&typo=1
Phone (403) 650-1978

On Feb 1, 2023, at 4:54 AM, Kelly Burgess <kellyb at> wrote:

Calculate thisMachine as OW3.$gethardwareid()

Manage your list subscriptions at,1,pjmYeXOPg-jU5KyR6cFDjEU-fqqxmSwjWkwQbtpYz2-6rXxO9zY9uP-JcMsDpQ38uLS5ibS3wEdBD-Q8su11jHy7FneKj4lDbkA0i3ulrotI5Swi1c3AjA,,&typo=1
Start a new message -> mailto:omnisdev-en at

Manage your list subscriptions at,1,lUXeQov5w-OPUGJP692sHSO5-hUt9MlDvDfBd1U2PlDQ6IyX0MsCP9gcjAeKQUsovEjSG7Wxq14kk7qRVAexjUgqPCMeFv_qialGLfFzb8YbreX16A,,&typo=1
Start a new message -> mailto:omnisdev-en at

More information about the omnisdev-en mailing list