c# - How to get tablet's IMEI number? -
this not winrt application. it's standard wpf. device behaves normal windows pc, has windows 10 installed. has 3g broadband modem , sim card slot.
some more information helpful. example brand , connection type (usb/internal).
if understood correctly looking solution programmatically (in wpf) collect information (imei) connected modems (in general or 1 specific?) depending on device have several options.
option 1 wmi:
depending if manufacturer included information might successful simple wmi query.
to verify take @ device manager (start -> run -> devmgmt.msc)
right click on modem -> properties go register "details".
scroll through properties , imei (the property doesn't named imei). if find there, can use wmi query information wpf program. example here: http://www.codeproject.com/questions/448125/how-to-write-wmi-query-to-find-usb-modems-in-cshar
option 2 @ commands:
if able communicate modem on serial connection can use called "at-commands" imei. information @ commands can found here: http://www.developershome.com/sms/atcommandsintro.asp
Comments
Post a Comment