Namespace: ITHit.WebDAV.Client
[Missing <returns> documentation for "M:ITHit.WebDAV.Client.IItemContentAsync.DownloadAsync(System.String)"]
| Exception | Condition |
|---|---|
| NotFoundException | This resource doesn't exist on the server. |
| WebDavHttpException | Server returned unknown error. |
| WebDavException | Unexpected error occurred. |
| IOException | An I/O error occurs. |
| ArgumentOutOfRangeException | File is empty. |
string license = "<?xml version='1.0' encoding='utf... WebDavSessionAsync session = new WebDavSessionAsync(license); session.Credentials = new NetworkCredential("User1", "pwd"); IFileAsync file = await session.OpenFileAsync(new Uri("http://server:8080/Products/image.gif")); file.TimeOut = 36000000; // 10 hours await file.DownloadAsync("C:\\image.gif");