문제

In my windows phone 8 app, I call to external APIs developed by client may be in PHP. They told us that the user agent is showing NativeHost. They want it to be Windows Phone so that they could better track the windows phone requests.

도움이 되었습니까?

해결책

다른 팁

Tr this one

HttpClient client = new HttpClient();
client.DefaultRequestHeaders.Add("User-Agent", "my-user-agent-name");

Hope you are using HTTP client to make call to external API

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top