MAC or Processor-ID from WinCE 4.2 Device on .Net FW 1.1

  • Thread starter Thread starter Wolfgang Maier
  • Start date Start date
W

Wolfgang Maier

Hi all,

I need a unique identification for a handheld-scanner-device.
I'm thinking that MAC or Processor-ID would be the best, because its not so
easy to change it.
The Device-name is not secure.

But how can I get this information unter compact-FW 1.1 ?

Is there a class in the FW ?

Please help me.
Thank you.
 
Wolfgang Maier skrev:
Hi all,

I need a unique identification for a handheld-scanner-device.
I'm thinking that MAC or Processor-ID would be the best, because its not so
easy to change it.
The Device-name is not secure.

But how can I get this information unter compact-FW 1.1 ?

Is there a class in the FW ?

Please help me.
Thank you.
You can use the deviceID, th easies way to get it is by using OpenNETCF
Smart Device Framework 2.2

http://www.opennetcf.com/library/sdf/html/8c32c82a-9afc-f232-1065-66de4f92253a.htm

http://www.opennetcf.com/library/sdf/
 
The SDF 2.2 requires .NETCF 2.0. If you're working with .NETCF 1.0 then you
should use the older SDF version (1.4)

SDF 1.4 comes with full source by the way
 
And you should be able to get the MAC address of an Ethernet/RF adapter via
OpenNETCF.Net.Adapter.MacAddress, which is an array of bytes (should be six
bytes long for an ordinary Ethernet device).

Paul T.

Christian Resma Helle said:
The SDF 2.2 requires .NETCF 2.0. If you're working with .NETCF 1.0 then
you should use the older SDF version (1.4)

SDF 1.4 comes with full source by the way
 
Hi Paul,
Sorry for the late answer:

I can not find a 'OpenNETCF.Net.Adapter.MacAddress' in SDF 1.4.
 
If not, there must have been a change in there somewhere. It's a property,
not a method. Are you sure that a search for MacAddress doesn't find it?

Paul T.
 
Hi Paul,

Sorry, I have not searched enough. I have found a adapter-class in the soure
of "'OpenNETCF.Net".

But now, I don't know, how I can instantiate this class.
 
You'd normally create an AdapterCollection by calling
Networking.GetAdapters(), scan through the list for the one you want, and
use that one.

Paul T.

Wolfgang Maier said:
Hi Paul,

Sorry, I have not searched enough. I have found a adapter-class in the
soure of "'OpenNETCF.Net".

But now, I don't know, how I can instantiate this class.

--
mfg, Wolfgang
------------------------
A-8020 Graz
Austria
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:%23Uu%[email protected]...
If not, there must have been a change in there somewhere. It's a
property, not a method. Are you sure that a search for MacAddress doesn't
find it?

Paul T.
 
Back
Top