gyc Posted March 2, 2011 Report Share Posted March 2, 2011 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. Quote Link to comment
Tim_S Posted March 2, 2011 Report Share Posted March 2, 2011 Does anyone know how to do the same programmatically in LabView? I believe you can get the same through .NET if you're using Windows. Unfortunately I'm not finding code that does this in my "oh, neat" library. Tim Quote Link to comment
peter_smith Posted March 4, 2011 Report Share Posted March 4, 2011 (edited) 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 March 4, 2011 by peter_smith 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.