Namespace: ITHit.WebDAV.Client
[Missing <returns> documentation for "M:ITHit.WebDAV.Client.IItemContent.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"); IFile davFile = await session.GetFileAsync(new Uri("https://server:8080/Products/image.gif")); await davFile.DownloadAsync("C:\\image.gif");