我有同样的问题。我尝试将 Credentials 设置为单个 NetworkCredental(user, pass),但它在 WinRT 中不起作用,尽管它在 Windoes Phone 中起作用。到目前为止,使其在 WinRT 中工作的唯一方法是通过反射创建 CredentialCache。
var credCacheType = Type.GetType("System.Net.CredentialCache, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089");
var credCache = credCacheType.GetConstructor(new Type[0]).Invoke(new object[0]);
var addMethod = credCacheType.GetMethod("Add", new Type[] { typeof(Uri), typeof(string), typeof(NetworkCredential) });
addMethod.Invoke(credCache, new object[] { new Uri(_server), "Digest", Credential });
request.Credentials = (ICredentials)credCache;