try using WMI. I havent used it more than my quicktest now :-) but it
returns macadresses (several) from my host, one for each.
cant try if it works on PocketPC, I leave that test for you.
good luck
/ Mikael
------------------------ script start--------------------
strComputer = "."
Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objWMIService = objSWbemLocator.ConnectServer(strComputer, _
"root\CIMV2")
set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_networkadapter")
For Each objItem in colItems
WScript.Echo objItem.name & " = " & objItem.macaddress & VBNewLine
Next
------------------------ script end -------------------
"initial_y" <in******@discussions.microsoft.com> wrote in message
news:46**********************************@microsof t.com...
I working on a web project which must verify user device identity by MAC. I
know how to get local MAC but can't find any way to get remote MAC by .net
framework. Why I hooked on .net is because the user device may be PC or
PocketPc and I hope the method be supported on either .net framework or
compact .net framework.