问题
My app requires the following parameters of mobile network:
- MCC (Mobile Country Code)
- MNC (Mobile Network Code)
- LAC (Location area code)
- CID (Cell identifier)
- cell's signal strength
And for Wi-Fi:
- MAC-adress
- signal strength
Also I need a device IP-adress for both variants.
Is there any API to get these parameters on Windows Phone 7? I can't find anything.
回答1:
Access to this information is not made provided. Presumably due to possible privacy/security related issues.
Additionally, if you created such an app it would not be acceptable to submit it to the marketplace as it would break certifaction requirements, specifically 2.7.1:
Your application must determine location using the Microsoft Location Service API.
来源:https://stackoverflow.com/questions/9861789/how-to-get-wi-fi-and-mobile-network-parameters-in-windows-phone-7