WebDavSession.Proxy Property

IT Hit WebDAV for .NET

Sets and gets proxy's settings for connection.

[Visual Basic]
NotOverridable Public Property Proxy As IWebProxy
[C#]
public System.Net.IWebProxy Proxy {get; set;}

Example

string license = "<?xml version='1.0' encoding='utf...
WebDavSession session = new WebDavSession(license);
WebProxy proxy = new WebProxy();
proxy.Address = new Uri("http://server1:8888");
proxy.Credentials = new NetworkCredential("User1", "pwd");
session.Proxy = proxy;
IFolder folder = session.OpenFolder(new Uri("http://server2:9876/"));

See Also

WebDavSession Class | ITHit.WebDAV.Client Namespace