DeviceIdManager.PersistIfDeviceAlreadyExists Property
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.
Indicates that the credentials should be persisted to the disk if registration fails with DeviceAlreadyExists.
public:
static property bool PersistIfDeviceAlreadyExists { bool get(); void set(bool value); };
public static bool PersistIfDeviceAlreadyExists { get; set; }
static member PersistIfDeviceAlreadyExists : bool with get, set
Public Shared Property PersistIfDeviceAlreadyExists As Boolean
Property Value
Remarks
If the device already exists, there is a possibility that the credentials are the same as the current credentials that are being registered. This is especially true in automated environments where the same credentials are used continually (to avoid registering spurious device credentials.