示例#1
0
 public void DeregisterDevice(string token)
 {
     using (var pushClient = new PushServiceClient())
     {
         pushClient.DeregisterDevice(
             CoreContext.TenantManager.GetCurrentTenant().TenantId,
             SecurityContext.CurrentAccount.ID.ToString(),
             token);
     }
 }
示例#2
0
 public void DeregisterDevice(string token)
 {
     using (var pushClient = new PushServiceClient())
     {
         pushClient.DeregisterDevice(
             CoreContext.TenantManager.GetCurrentTenant().TenantId,
             SecurityContext.CurrentAccount.ID.ToString(),
             token);
     }
 }