Authentication issues using .NET libraries
I apologize if this has been asked already but I couldn't find anything in the search. I have a webdav server that I can connect to without any issues using the winscp gui application but cannot connect to through the .NET libraries. The following is a code snippet that creates a session and attempts to connect. I get a "Authentication failed. Could not authenticate to server: rejected Digest challenge Connection failed." error. I have attached logs from both the gui app and .NET code. This seems pretty straight forward but I cannot get it to connect. Thanks.
using (Session session = new Session())
{
SessionOptions options = new SessionOptions
{
Protocol = Protocol.Webdav,
HostName = xxx.xxx.xxx.xxx,
UserName = "xxxxxxxxx",
WebdavRoot = "/files",
};
session.Open(options);
//unrelated code
}