Namespace: ITHit.WebDAV.Client
[Missing <returns> documentation for "M:ITHit.WebDAV.Client.IHierarchyItem.RefreshAsync"]
string license = "<?xml version='1.0' encoding='utf... WebDavSessionAsync session = new WebDavSessionAsync(license); session.Credentials = new NetworkCredential("User1", "pwd"); IFolder folder = await session.GetFolderAsync(new Uri("https://server:8080/Sales")); IFile davFile = await folder.CreateFileAsync("products.xlsx"); await davFile.UploadAsync("C:\\products.xlsx"); await davFile.RefreshAsync(); // ContentLength property becomes invalid after item content update, reread it from server Console.WriteLine(davFile.ContentLength);