Need an alternative to Mobile Broadband API in WinRT -


i trying use mobile broadband api interfaces mobile device information imei,etc., on windows rt tablet.
you can find api reference here

i planning console application retrieve information shown in example below. unable find mbnapi namespace in winrt.

i aware not available in winrt. if of know or have managed code or dll same, please point me in right direction.

code:

using system; using system.collections.generic; using system.linq; using system.text; using mbnapi;  namespace consoleapplication1 {     class program     {         static void main(string[] args)         {             mbninterfacemanager mbninfmgr = new mbninterfacemanager();             imbninterfacemanager infmgr = (imbninterfacemanager)mbninfmgr;               mbnconnectionmanager mbnconnectionmgr = new mbnconnectionmanager();             imbnconnectionmanager imbnconnectionmgr = (imbnconnectionmanager)mbnconnectionmgr;               imbnconnection[] connections = (imbnconnection[])imbnconnectionmgr.getconnections();             foreach (imbnconnection conn in connections)             {                 imbninterface mobileinterface = infmgr.getinterface(conn.interfaceid) imbninterface;                 mbn_interface_caps caps = mobileinterface.getinterfacecapability();                  mbn_provider provider = mobileinterface.gethomeprovider();                 console.writeline("device id :" + caps.deviceid);                 console.writeline("dataclass: " + caps.cellularclass);                 console.writeline("manufacturer: " + caps.manufacturer);                 console.writeline("model : " + caps.model);                 console.writeline("firmware version: " + caps.firmwareinfo);              }             console.readkey(true);         }     } } 

as say, windows mobile broadband api available on windows desktop.

here's you're looking in metro/winrt area: win rt mobile broadband apis.

there useful information device enumeration, , other things might need here.


Popular posts from this blog