G
Guest
Does anyone know how to retrieve the macaddress and computer name from and
iPAQ, preferably using the compact framework?
Thanks...Dan
iPAQ, preferably using the compact framework?
Thanks...Dan
Sergey Bogdanov said:The SDF has the OpenNETCF.Net.Adapter.MacAddress. Here you are steps how
to retrieve it:
1. OpenNETCF.Net.Networking.GetAdapters()
2. check that a collection has at least one record
3. retrieve Mac Address from adaptersCollection[0].MacAddress
--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com
Does anyone know how to retrieve the macaddress and computer name from and
iPAQ, preferably using the compact framework?
Thanks...Dan
Dan said:I tried that. It returns a collection of 1 adapter (even though there are
two on the device), and the macaddress is all zeroes.
There's a bug list a mile long on that method, so unless I'm missing
something, it's just not very reliable, which is too bad.
Dan
Sergey Bogdanov said:The SDF has the OpenNETCF.Net.Adapter.MacAddress. Here you are steps how
to retrieve it:
1. OpenNETCF.Net.Networking.GetAdapters()
2. check that a collection has at least one record
3. retrieve Mac Address from adaptersCollection[0].MacAddress
--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com
Does anyone know how to retrieve the macaddress and computer name from
and
iPAQ, preferably using the compact framework?
Thanks...Dan
Paul G. Tobey said:The latest SDF should be able to retrieve any NDIS adapter MAC information
that exists. It's not a requirement that every NDIS driver return a MAC
address. What are the two adapters that you have?
Paul T.
Dan said:I tried that. It returns a collection of 1 adapter (even though there are
two on the device), and the macaddress is all zeroes.
There's a bug list a mile long on that method, so unless I'm missing
something, it's just not very reliable, which is too bad.
Dan
Sergey Bogdanov said:The SDF has the OpenNETCF.Net.Adapter.MacAddress. Here you are steps how
to retrieve it:
1. OpenNETCF.Net.Networking.GetAdapters()
2. check that a collection has at least one record
3. retrieve Mac Address from adaptersCollection[0].MacAddress
--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com
Dan wrote:
Does anyone know how to retrieve the macaddress and computer name from
and
iPAQ, preferably using the compact framework?
Thanks...Dan
Dan said:Hi Paul. When I look at the asset viewer on my iPAQ, it shows a Wi-Fi tab
with a legitimate MAC address and a Bluetooth tab with a different
legitimate
MAC address. So there appear to be two adapters on the device, each
reporting a MAC address. However, SDF 1.4 doesn't appear to report either
of
them.
Paul G. Tobey said:The latest SDF should be able to retrieve any NDIS adapter MAC
information
that exists. It's not a requirement that every NDIS driver return a MAC
address. What are the two adapters that you have?
Paul T.
Dan said:I tried that. It returns a collection of 1 adapter (even though there
are
two on the device), and the macaddress is all zeroes.
There's a bug list a mile long on that method, so unless I'm missing
something, it's just not very reliable, which is too bad.
Dan
:
The SDF has the OpenNETCF.Net.Adapter.MacAddress. Here you are steps
how
to retrieve it:
1. OpenNETCF.Net.Networking.GetAdapters()
2. check that a collection has at least one record
3. retrieve Mac Address from adaptersCollection[0].MacAddress
--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com
Dan wrote:
Does anyone know how to retrieve the macaddress and computer name
from
and
iPAQ, preferably using the compact framework?
Thanks...Dan