DeviceIdManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Management utility for the Device Id
public ref class DeviceIdManager abstract sealed
public static class DeviceIdManager
type DeviceIdManager = class
Public Class DeviceIdManager
- Inheritance
-
DeviceIdManager
Fields
MaxDeviceNameLength |
Internal Use only |
MaxDevicePasswordLength |
Internal Use only |
Properties
PersistIfDeviceAlreadyExists |
Indicates that the credentials should be persisted to the disk if registration fails with DeviceAlreadyExists. |
PersistToFile |
Indicates whether the registered device credentials should be persisted to the database |
Methods
DiscoverEnvironment(Uri) |
Discovers the Windows Live environment based on the Token Issuer |
LoadDeviceCredentials() |
Loads the device's credentials from the file system |
LoadDeviceCredentials(Uri) |
Loads the device's credentials from the file system |
LoadOrRegisterDevice() |
Loads the device credentials (if they exist). |
LoadOrRegisterDevice(String, String) |
Loads the device credentials (if they exist). |
LoadOrRegisterDevice(Uri) |
Loads the device credentials (if they exist). |
LoadOrRegisterDevice(Uri, String, String) |
Loads the device credentials (if they exist). |
RegisterDevice() |
Registers the given device with Live ID with a random application ID |
RegisterDevice(Guid) |
Registers the given device with Live ID |
RegisterDevice(Guid, String, String) |
Registers the given device with Live ID |
RegisterDevice(Guid, Uri) |
Registers the given device with Live ID |
RegisterDevice(Guid, Uri, String, String) |
Registers the given device with Live ID |