MPNS URI timeout
I am using the Microsoft Push Notification Service
to send push notifications, and i am using the unique device id as the channel name to insure a unique URI for the application.
byte[] myDeviceID=(byte[])Microsoft.Phone.Info.DeviceExtendedProperties.GetValue("DeviceUniqueId");
string channelName = Convert.ToBase64String(myDeviceID);
So is 开发者_Go百科there a timeout for the URI and if so what is it??
Yes, sometimes the Channel URI is updated. Therefore, you need to properly handle HttpNotificationChannel.ChannelUriUpdated. Whenever an application is running, there is no guarantee that the single opened URI will be persistent.
精彩评论