问题
I know Windows Phone 7 requires you to enter you Windows Live Id on startup. Is there a way to get access to information about that account from my Silverlight app installed on the phone?
Thanks,
回答1:
At this stage the Windows Live ID will not be available automatically to 3rd party applications. We are expecting an anonymous live id for the purpose of uniqueness identification however. Some further detail here and here on this topic. We'll see more on ExtendedProperties hopefully soon.
回答2:
It is not currently (with the Beta SDK) possible to get this or any other device specific information.
Apparently, in the RTM build, DeviceExtendedProperties
will be populated with some information about device manufacture, firmware version, unique ID, etc.
This may or may not include the LiveId. I suspect that for security purposes it wouldn't though. At best we may get a hash of the id, to make it possible to identify the same person on multiple devices.
来源:https://stackoverflow.com/questions/3383983/getting-the-currently-logged-in-windows-live-id-windows-phone-7