John:
Look at C:\Documents and Settings\All Users\Application 
Data\Microsoft\Network\Connections\Pbk\Rasphone.pbk
Under DEVICE=modem you will see the PhoneNumber that is the default for the 
modem
In Win98 this was stored in the registry and Win2K and newer this is stored in 
this text file (but I am not sure about Vista...)
Regards,

Jack Skelley

________________________________________
From: [email protected] [[email protected]] On Behalf Of 
John Harvey [[email protected]]
Sent: Wednesday, February 16, 2011 11:27 AM
To: [email protected]
Subject: RE: Pulling USB phone modem number programmatically

I've been trying to find a way to discover the phone number associated with
a usb modem programmatically. We have Pantech UM175 USB modems that use VZ
Access manager for communications in our squad cars, and I have wmi code
that gives me the ip address, but I haven't been able to find anything that
gives me the phone number, either through wmi or com or reading the
registry. Has anyone ever done this?

Thanks,

John Harvey
MPD


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/0b957900b2b8194d998a441195b660383a312cc...@drdsrv03.drdad.thenewarkarena.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to