2013-06-18 71 views
0

我試圖讓使用下面的代碼從互聯網上的一些數據:的Windows商店應用代理​​發行

HttpClient client = new HttpClient(); 

string URL = "http://server/test/userauth?operation=loginAuth&userName=" + 
strEncryptedUsername + "&password=" + strEncryptedPassword 

HttpResponseMessage response = await client.GetAsync(URL); 

response.EnsureSuccessStatusCode(); 

獲得代理「407所需授權」的錯誤。請幫忙。這是一個Windows應用商店。

+0

Windows應用商店的應用程序,但'deviceOS = iOS'? – Raptor

+0

請忽略網址paranmeters。它是爲了在服務器上執行一段代碼而完成的。 –

回答