Namespace: ITHit.WebDAV.Client
The WebDavSessionAsync type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AllowWriteStreamBuffering |
Gets or sets a value that indicates whether to buffer the data sent to server.
|
![]() | ClientCertificates |
Gets collection of certificates which will be attached to every request.
|
![]() | ContentEncoding |
Gets or sets the HTTP character set of the output stream.
|
![]() | CookieContainer |
Cookies which will be added to all requests.
|
![]() ![]() | Credentials |
Sets and gets credentials for connection.
|
![]() | CustomHeaders |
Custom user headers which will be added to all requests.
|
![]() | Expect100Continue |
Determines if header "Expect: 100-continue" will be sent with all request. Default value is true |
![]() | IIS6SSLSupport |
Fixes urls for IIS 6 build-in WebDAV SSL connections.
|
![]() | PreAuthenticate |
Gets or sets a value that indicates whether to send an authenticate header with the request.
|
![]() ![]() | Proxy |
Sets and gets proxy's settings for connection.
|
![]() | SendChunked |
Gets or sets a value that indicates whether to send data in segments.
|
![]() ![]() | TimeOut |
Sets and gets time-out in milliseconds.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetAuthenticationSchemeAsync(String) |
Gets server authentication scheme.
|
![]() | GetAuthenticationSchemeAsync(Uri) |
Gets server authentication scheme.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | OpenFileAsync(String) |
Returns IFileAsync corresponding to path.
|
![]() ![]() | OpenFileAsync(Uri) |
Returns IFileAsync corresponding to path.
|
![]() ![]() | OpenFolderAsync(String) |
Returns IFolderAsync corresponding to path.
|
![]() ![]() | OpenFolderAsync(Uri) |
Returns IFolderAsync corresponding to path.
|
![]() ![]() | OpenItemAsync(String) |
Returns IHierarchyItemAsync corresponding to path.
|
![]() ![]() | OpenItemAsync(Uri) |
Returns IHierarchyItemAsync corresponding to path.
|
![]() ![]() | OpenVersionAsync(String) |
Returns IVersionAsync corresponding to path.
|
![]() ![]() | OpenVersionAsync(Uri) |
Returns IVersionAsync corresponding to path.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
string license = "<?xml version='1.0' encoding='utf... WebDavSessionAsync session = new WebDavSessionAsync(license); session.Credentials = new NetworkCredential("User1", "pwd"); IFolderAsync folder = null; try { folder = await session.OpenFolderAsync(new Uri("http://server:8080/Products")); } catch(UnauthorizedException) { Console.WriteLine("Incorrect user name or password."); } catch(NotFoundException) { Console.WriteLine("Folder not found."); } if(folder!=null) { Console.WriteLine(folder.LastModified.ToString()); }