windows-phone-7mobilecarrier

DeviceNetworkInformation.CellularMobileOperator returns a phone number


I'm using DeviceNetworkInformation.CellularMobileOperator() in my application to get the carrier information from mobiles phones, as explained on msdn.

A user has reported to me that the information he returned was a phone number.

I'm wondering if anybody else has got this bug ? It seems like a critical flaw in the Windows Phone SDK.


Solution

  • This function relies solely on the information the carrier provides. I used it on several phones in the US and in all cases I get the carrier name (e.g. AT&T). Apparently, some carriers set their identifier as the user phone number. This is not an SDK flaw, but rather a carrier misjudgment.