public async Task <bool> registerWnsId(String wnsRegistrationId)// throws IOException
        {
            WnsRegistrationId registration = new WnsRegistrationId(wnsRegistrationId);

            return(await makeRequest(REGISTER_WNS_PATH, "PUT", JsonUtil.toJson(registration)) != null);
        }
 public async Task<bool> registerWnsId(String wnsRegistrationId)// throws IOException
 {
     WnsRegistrationId registration = new WnsRegistrationId(wnsRegistrationId);
     return await makeRequest(REGISTER_WNS_PATH, "PUT", JsonUtil.toJson(registration)) != null;
 }