MAC Address

R

Rafael Tejera

How I can obtain the MAC address of the customers pc.

Somebody has an example?

I'm using C#.NET 2003


Rafael
 
G

Guest

You mean, Remotely? That would be very difficult. Otherwise one of the
easiest ways is to open a command prompt and type "ipconfig /all"
Peter
 
R

Rafael Tejera

I mean remotely using asp.net.


Rafael

You mean, Remotely? That would be very difficult. Otherwise one of the
easiest ways is to open a command prompt and type "ipconfig /all"
Peter
 
G

Guest

OK,
You could probably do it remotely using WMI assuming you had the requisite
Administrator privileges on the remote machine, but if you are attempting to
do this from a web page loaded into somebody's browser, forget it - browser
security restrictions prevent access to the client machine, filesystem, etc.

Why do you need to get a remote user's MAC Adress anyway? If it's for some
sort of identification or license validation, I'd recommend against it. It's
very easy to change the MAC address on your machine - there are a number of
freeware utilities for doing this. In other words, what's the end goal here?
Perhaps there is a workaround.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
 
R

Rafael Tejera

I need to validate the users to know in which sites they are. I had put that they can select the sites, and its been a problem, they always are making mistakes and I'm searching a way to make the decision by the application.

It is a C# asp.net application.

Other problem is that the sites connect to a internet and from there they connect to the application. These sites don't have an static ip address.


Rafael


OK,
You could probably do it remotely using WMI assuming you had the requisite
Administrator privileges on the remote machine, but if you are attempting to
do this from a web page loaded into somebody's browser, forget it - browser
security restrictions prevent access to the client machine, filesystem, etc.

Why do you need to get a remote user's MAC Adress anyway? If it's for some
sort of identification or license validation, I'd recommend against it. It's
very easy to change the MAC address on your machine - there are a number of
freeware utilities for doing this. In other words, what's the end goal here?
Perhaps there is a workaround.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top