On Thu, 17 May 2007 13:28:40 -0400, [EMAIL PROTECTED] wrote: > When you have Parallels or VMware installed on a Windows box, it created > multiple virtual NICs. Each one has its own MacAddress. I want to determine > the MacAddress of the REAL hosts NIC? It isn't in the registry, so how can > this be achieved? I have tried the following, but it returns all 4 NICs, > and you can't tell which one is real (and active): > > function getWinMacAddress > set the hideConsoleWindows to true > put "net config rdr" into tShellCommand > put shell(tShellCommand) into tNetInfo > filter tNetInfo with "*NetBT_Tcpip*" -- last word is MacAddress > put word -1 of line 1 of tNetInfo into tMacAddress > return tMacAddress > end getWinMacAddress
How about the tip: http://www.sonsothunder.com/devres/revolution/tips/env001.htm Does that work for you? Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
