Computer unique id
MisterX
b.xavier at internet.lu
Sun Jul 17 02:00:15 CDT 2005
Hi Shari,
Possible that it's a virtual connection established by a remoteAccess
driver.
(power saving feature ;)?
Which windows is this guy using?
AFAIK, most modern windows should return something. Connected or not.
If you dont filter the ipconfig info, what do you get?
cheers
Xavier
_____
From: metacard-bounces at lists.runrev.com
[mailto:metacard-bounces at lists.runrev.com] On Behalf Of Shari
Sent: Saturday, July 16, 2005 17:33
To: metacard at lists.runrev.com
Subject: Computer unique id
I've encountered an unexpected problem with the following:
switch (the platform)
case "Win32"
put (there is a file (specialFolderPath("system") & "/IPCONFIG.EXE"))
into winExists
put (there is a file (specialFolderPath("system") &
"/SYSTEM32/IPCONFIG.EXE")) into sys32Exists
if winExists or sys32Exists then
set the hideConsoleWindows to true
put shell("ipconfig /all") into temp
get matchText(temp,"Physical Address[\. ]*: ([A-Z0-9-]*)",addy)
else
return "Default"
end if
break
end switch
return addy
I've got a fellow who, if he is connected to the internet, this will return
his MAC address. However, if he logs off the internet, this returns empty.
Any clues?
--
Mac and Windows shareware games
http://www.gypsyware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.runrev.com/pipermail/metacard/attachments/20050717/6b593e40/attachment.html
More information about the metacard
mailing list