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
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message news:59**********************************@microsof t.com...
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
"Rafael Tejera" wrote:
I mean remotely using asp.net.
Rafael
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message news:E1**********************************@microsof t.com...
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
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
"Rafael Tejera" wrote:
How I can obtain the MAC address of the customers pc.
Somebody has an example?
I'm using C#.NET 2003
Rafael