Namespace: ITHit.WebDAV.Client
[Missing <returns> documentation for "M:ITHit.WebDAV.Client.IHierarchyItemAsync.GetPropertyNamesAsync"]
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... WebDavSessionAsync session = new WebDavSessionAsync(license); session.Credentials = new NetworkCredential("User1", "pwd", "DOMAIN"); IHierarchyItemAsync item = await session.OpenFileAsync(new Uri("https://server/Library/doc.txt")); PropertyName[] names = await item.GetPropertyNamesAsync(); foreach (PropertyName name in names) { Console.WriteLine(name); }