Hello, I am developing a ASP .NET web form, what I want is to be able to retreive the MAC address of the user who is accessing the page..
I tried this:
System.Management.SelectQuery sq = new
System.Management.SelectQuery("Win32_NetworkAdapterConfiguration",
"IPEnabled='TRUE'");
System.Management.ManagementObjectSearcher searcher = new
System.Management.ManagementObjectSearcher(sq);
foreach (System.Management.ManagementObject mos in searcher.Get())
{
Response.Write(mos.GetPropertyValue("MACAddress").ToString().Replace(":",""));
}
But for all users it game the same MAC which is probably giving the MAC address of my network card.. What I want is the MAC of the user
Thanks
Amr NoureldinPosted Dec 11, 2005, 4:31 PM
I managed to find a code to get me the HDD serial, but it turned out it shows my HDD serial regardless if its me or the client who is using the app. I want to retreive the clients one though
Thanks