WebDavSessionAsyncProxy Property
IT Hit WebDAV Classes Reference
Sets and gets proxy's settings for connection.
Namespace:
ITHit.WebDAV.Client
Assembly:
ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 2.0.420.0
Syntax public IWebProxy Proxy { get; set; }
Public Property Proxy As IWebProxy
Get
Set
public:
virtual property IWebProxy^ Proxy {
IWebProxy^ get () sealed;
void set (IWebProxy^ value) sealed;
}
abstract Proxy : IWebProxy with get, set
override Proxy : IWebProxy with get, set
Property Value
Type:
IWebProxyExamples string license = "<?xml version='1.0' encoding='utf...
WebDavSessionAsync session = new WebDavSessionAsync(license);
WebProxy proxy = new WebProxy();
proxy.Address = new Uri("http://server1:8888");
proxy.Credentials = new NetworkCredential("User1", "pwd");
session.Proxy = proxy;
IFolderAsync folder = await session.OpenFolderAsync(new Uri("http://server2:9876/"));
See Also