Jump to content

Generate computer ID


Recommended Posts

Hi there.

I'm sure many of you are 'acquainted' with the "generateComputerID.exe" little prog used by the license manager to generate a 16-digit code unique to the computer (based on hw - mac address and processor serial no. - anyone correct me if I got it wrong).

Does anyone know how to do the same programmatically in LabView?

I know the little prog can be called with a system exec, but I think this is not very elegant - and I am forced to deploy the prog with my application.

G.

Link to comment

Hi there.

I'm sure many of you are 'acquainted' with the "generateComputerID.exe" little prog used by the license manager to generate a 16-digit code unique to the computer (based on hw - mac address and processor serial no. - anyone correct me if I got it wrong).

Does anyone know how to do the same programmatically in LabView?

I know the little prog can be called with a system exec, but I think this is not very elegant - and I am forced to deploy the prog with my application.

G.

Hi! I just quickly made a VI which shows you how to get HDD serials and NIC MAC addresses.

You can hash them or use it as you wish.

The NICs given by the VI are not all real physical devices, and you could filter them on specific NIC properties, but that would need the use of .NET enumerated constants, and I did not find the numbers representing the properties.

I hope this helps.

Peter

PS: the VI is in LV2009. If you would need an older version, just let me know.

Get_HDD_Serial.vi

Edited by peter_smith
  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.