I want to know how to get pad's device name?

Dec 6, 2010 at 1:39 AM

Everybody,I  want to know howto get pad's device name user OpenNETCF.Desktop.Communication.dll?

 Now i conncet the pda is noprobolm..    thanks

Coordinator
Dec 6, 2010 at 2:26 PM

Unfortunately RAPI doesn't directly provide a mechanism for this.  It does, however, provide a generic mechanism for invoking custom methods.  Neil Cowburn discussed getting a Device ID via RAPI in his blog.  Getting the device name would be nearly identical.

Dec 10, 2010 at 11:29 PM

Another thing you can do is set up some type of master table.

We have a table called tblSellerMast, where we store the salesperson (use of the device) account number, preferences and a few other things.

You could easily store the device type/name/inventoryNumber here and use standard rapi calls to retrieve the information.

 

HTH

David

Dec 11, 2010 at 10:55 AM

At First,Thanks for yours reply.. i have find a monthed do this  that  When the pda linked  i  read the information from pda's regedit....