Hi.
I'm sorry to ask you a very basic question.
(1) I can not use CredentialCache in Rebex HTTP request.
My CredentialCache can be assigned to a WebRequest.Credential in the default WebRequest,
but a CredentialCache can not be assigned to a Rebex HttpRequest.Credential.
An Arguments Exception is thrown.
var credCache = new CredentialCache();
credCache.Add(new Uri("http://.com/"),"Basic", new NetworkCredential(...,...));
credCache.Add(new Uri("http://.com/"),"Digest", new NetworkCredential(...,...));
var request = (Rebex.Net.HttpRequest) creator.Create(uri);
try
{
request.Credentials = credCache;
}
catch
{
// Exception : Only NetworkCredential values are supported. Parameter name: value
}
(2) How do I set up the system default proxy when configuring Rebex's Http Proxy?
creator.Proxy = WebProxy.GetDefaultProxy(); // error
Thank you.