Considering the use case when user has to register his device for accessing a channel,(randezvous style of registration), how should the device be identified? For there are two calls that I can see under the ifDeviceInfo : 1)GetDeviceUniqueId() : this should be never used for registration though as specified in the docs 2)GetPublisherId()
GetPublisherId is unique to a particular channel , it is persistent, but considering a scenario where user uninstalls the channel and re-installs it, would this be the same for the second time ? Is there any other style of registration that can be used?
I typically generate a random unique code. Depending on the situation, I might append it to the device ID to facilitate support. The key is to make it so that the user can easily unlink with a factory reset or by uninstalling the channel (i.e., by clearing the registry).