comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Unique Identifier
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Unique Identifier [message #61446] Wed, 16 July 2008 14:25
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Jul 16, 1:49 pm, Bennett <juggernau...@gmail.com> wrote:
> Does anyone know of an IDL function or system variable that can return
> a unique identifier for a computer that won't change....or at least
> has a highly unlikely chance of changing?  Something like an IP
> address (assuming static) or anything of that nature?
>
> Thanks

IDL> stat = lmgr(lmhostid=mac)
IDL> print, mac
0123456789ab

This is usually the mac address.

Mike
--
www.michaelgalloy.com
Tech-X Corporation
Software Developer II
Re: Unique Identifier [message #61449 is a reply to message #61446] Wed, 16 July 2008 13:24 Go to previous message
Juggernaut is currently offline  Juggernaut
Messages: 83
Registered: June 2008
Member
On Jul 16, 4:12 pm, Jean H <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
wrote:
> Bennett wrote:
>> Does anyone know of an IDL function or system variable that can return
>> a unique identifier for a computer that won't change....or at least
>> has a highly unlikely chance of changing? Something like an IP
>> address (assuming static) or anything of that nature?
>
>> Thanks
>
> if you are under windows, you can try
> spawn, 'ipconfig /all', result & print, result
> then extract the Physical Address (=MAC address)... it will work,
> provided that the computer has a network card. each card should have a
> different number.
>
> Jean

Excellent. Thanks Jean. I seem to forget about spawn and what it can
do.
Re: Unique Identifier [message #61450 is a reply to message #61449] Wed, 16 July 2008 13:12 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Bennett wrote:
> Does anyone know of an IDL function or system variable that can return
> a unique identifier for a computer that won't change....or at least
> has a highly unlikely chance of changing? Something like an IP
> address (assuming static) or anything of that nature?
>
> Thanks

if you are under windows, you can try
spawn, 'ipconfig /all', result & print, result
then extract the Physical Address (=MAC address)... it will work,
provided that the computer has a network card. each card should have a
different number.

Jean
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Something Has Changed
Next Topic: 330 Humingbird GPS 33020

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 07:26:33 PDT 2025

Total time taken to generate the page: 0.08144 seconds