Re: How do I translate Computer Name to MAC Address?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Sam Hobbs (samuel_at_social.rr.com_change_social_to_socal)
Date: 01/08/05


Date: Sat, 8 Jan 2005 09:39:53 -0800

Have you considered the possibility that some computers don't have network
adapters? Have you considered the possibility that some computers have
multiple adapters? What if the adapter gets changed; then thy must get a new
license and can't use the software until that is done, correct?

Correspondingly, IP addresses often change, right?

Of those samples Randy referred to, the WMI are definitely worth looking at.
Once you know about WMI, you have access to nearly everything there is to
know about a system. The TechNet Script Center is another good place to look
for WMI samples.

http://www.microsoft.com/technet/scriptcenter/default.mspx

Look there for the "Ipconfig.vbs" sample; I am not sure where it is, but I
think it is part of a tutorial. It does much more than what you need, and is
very interesting.

"Joseph Geretz" <jgeretz@nospam.com> wrote in message
news:eT%23m8748EHA.1228@tk2msftngp13.phx.gbl...
> I'm working on a licensing subsystem. In order to do this I need some way
> to lock a license to the computer it is issued to. I've decided to use the
> MAC Address of the machine's network card as a unique computer ID. (I know
> this may not be absolute, but it's close enough and seems to be an
> industry standard.) I'd like also to be able to issue a license remotely,
> that is be logged on to one machine on the network and issue licenses to
> various workstations from a single session. I'd like the user to be able
> to identify workstations by name or by IP and then have the software
> derive the MAC address for the specified workstation. Is this something
> which is possible?
>
> Is the MAC address visible to a remote client?
> If not, is the MAC address at least visible locally?
>
> If it is not possible to get at the MAC Address, then I guess perhaps I
> could use the combination of Computer Name + IP Address as my unique
> identifier. In this case I'd just need to be able to translate a Computer
> Name to IP Address and vice versa.
>
> Thanks for your help,
>
> - Joe Geretz -
>



Relevant Pages

  • Re: How do I translate Computer Name to MAC Address?
    ... Have you considered the possibility that some computers don't have network ... multiple adapters? ... > to lock a license to the computer it is issued to. ... > MAC Address of the machine's network card as a unique computer ID. ...
    (microsoft.public.win32.programmer.networks)
  • Re: How to Reinitialize Network Install?
    ... No matter how may times you activate a license, as long as you legitimately own it MS can't refuse to activate software that is legitimately purshaced and owned. ... You could try erasing all info about the network cards from the registry by: ... 1: Remove the adapters ... The first TCP connection goes out to the correct MAC address and response ...
    (microsoft.public.windows.server.general)
  • How to Reinitialize Network Install?
    ... I need some guidance about how to wipe out any traces of any networking ... There are two ethernet adapters installed that are the same make and model. ... The first TCP connection goes out to the correct MAC address and response ... gateway isolated as the only two machines on the network. ...
    (microsoft.public.windows.server.general)
  • Re: Question about RNDIS on mainstone II board.
    ... The matter is that RNDIS download or KITL connection needs to emulate not just an adapter, but a network of TWO adapters. ... This means that, besides two IP addresses, that you can configure automatically through DHCP or manually on host and device sides, you also need TWO MAC addresses, or your emulated LAN won't work. ... Though I have no specific experience, I guess that that bit might be reserved and a registered MAC address would not have it set, but on such an emulated network no one should be concerned about this. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: SendArp can get accurate MAC address?
    ... you can get an accurate MAC as long as the system is running Netbios ... addresses are not reserved just for physical network cards). ... adapters that are currently active and bound to the ...
    (microsoft.public.vb.winapi)