Namespace: ITHit.WebDAV.Client
[Missing <returns> documentation for "M:ITHit.WebDAV.Client.IHierarchyItem.GetAllPropertiesAsync"]
Exception | Condition |
---|---|
NotFoundException | This item doesn't exist on the server. |
WebDavHttpException | Server returned unknown error. |
WebDavException | Unexpected error occurred. |
string license = "<?xml version='1.0' encoding='utf... WebDavSession session = new WebDavSession(license); session.Credentials = new NetworkCredential("User1", "pwd"); IFile file = await session.GetFileAsync(new Uri("https://server/Library/doc.txt")); Property[] properties = await file.GetAllPropertiesAsync(); foreach(Property prop in properties) { Console.WriteLine(prop.Name.NamespaceUri + ":" + prop.Name.Name + " " + prop.StringValue); }