Re: Getting MAC Address of PC
- From: "Anthony Jones" <Ant@xxxxxxxxxxxxxxxx>
- Date: Mon, 5 Jun 2006 14:16:18 +0100
"Prabhat" <not_a_mail@xxxxxxxxxxx> wrote in message
news:%238CnbaIiGHA.1276@xxxxxxxxxxxxxxxxxxxxxxx
Hi Anthony, Thaks for your reply.may
from some website I came to know that I can use like:
var locator = new ActiveXObject("WbemScripting.SWbemLocator");
var service = locator.ConnectServer(".");
var properties = service.ExecQuery("SELECT * FROM
Win32_NetworkAdapterConfiguration");
in Javascript. But this line does not work. I get error "Automation server
can't create object". How can I make this work?
Also can you suggest the installed component method? I understand that the
user will have to allow the code / script to execute. I will instruct this
on webpage.
Yes I am aware that the network adaptor has the address not the PC. So I
need the HDD Serial Number too for this.
The HDD Serial number as well as the MAC or instead of? You should also be
aware that a MAC Address can change E.g. the users network adapter has been
replaced.
Why do you need this? It will be difficult to build a component that can
expose this information for you to use without allowing others with
malicious intent to use it also.
Thanks
Prabhat
"Anthony Jones" <Ant@xxxxxxxxxxxxxxxx> wrote in message
news:#IAwDSIiGHA.4040@xxxxxxxxxxxxxxxxxxxxxxx
users
"Prabhat" <not_a_mail@xxxxxxxxxxx> wrote in message
news:Oq0AH2HiGHA.1324@xxxxxxxxxxxxxxxxxxxxxxx
Hi Friends,Javascript
It it possible to get the MAC Address of the client PC using some
sent from ASP pages to clients PC? Please advice.
Thanks
Prabhat
No you will need some kind of installed component which will need the
agreement to do this.
BTW a PC doesn't have a MAC Address a network adapter does. Have you
considered what should happen if mutliple adapters are installed?
.
- Follow-Ups:
- Re: Getting MAC Address of PC
- From: Prabhat
- Re: Getting MAC Address of PC
- References:
- Getting MAC Address of PC
- From: Prabhat
- Re: Getting MAC Address of PC
- From: Anthony Jones
- Re: Getting MAC Address of PC
- From: Prabhat
- Getting MAC Address of PC
- Prev by Date: excel in browser
- Next by Date: Re: java script operation in ASP page
- Previous by thread: Re: Getting MAC Address of PC
- Next by thread: Re: Getting MAC Address of PC
- Index(es):
Relevant Pages
|