Namespace: ITHit.WebDAV.Client
Member name | Value | Description | |
---|---|---|---|
Class1 | 1 | WebDAV Class 1 compliant item. | |
Class2 | 2 | WebDAV Class 2 compliant item. | |
VersionControl | 4 | DeltaV version-control compliant item. | |
CheckoutInPlace | 16 | Checkout-in-place item support check out, check in and uncheckout operations. | |
VersionHistory | 32 | DeltaV Version History compliant item. | |
Update | 64 | DeltaV Update compliant item. | |
ResumableUpload | 128 | Item supports resumable upload. | |
ResumableDownload | 256 | Item supports resumable download. |
string license = "<?xml version='1.0' encoding='utf... WebDavSession session = new WebDavSession(license); session.Credentials = new NetworkCredential("User1", "pwd"); IHierarchyItem item = await session.GetFileAsync(new Uri("https://server:8580/Products/Sales.txt")); if ( ((await item.SupportedFeaturesAsync()) & Features.Class2) != 0 ) Console.WriteLine("Class 2 item. This item supports locking."); else Console.WriteLine("Class 1 item. This item does not support locking.");