By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,524 Members | 1,519 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,524 IT Pros & Developers. It's quick & easy.

Getting Device ID / Network name

P: n/a

Been here:

and I downloaded a c# example, but it doesn't work on the 2002 or 2003
Ok, so I have 15 PDA units going into rollout, I want to be able to identify
each PDA by deviceID (from the About applet in settings)
Each PDA will be accessing a SQL publication based on this name.

If there is a working example in any language, I can build it as DLL, and
import into my VB project.
This also leads into another question about SQL / SQLCE merge publications,
but if I can't get this part working, the other part isn't as important..
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Ok, found something no developer should be without....

The part in particular that I used deals with the registry, and
HKLM/Ident/Name is where the Device ID is stored.
Dim reg_reader As OpenNETCF.Win32.Registry

Dim myreader As String

myreader = reg_reader.LocalMachine.OpenSubKey("Ident").GetVal ue("Name")


Thats all it took. The install for OpenNETCF made the references
available. Just need to add the base OpenNETCF reference.

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.