Click or drag to resize

Features Enumeration

IT Hit WebDAV Classes Reference
Represents WebDAV server item compliance.

Namespace:  ITHit.WebDAV.Client
Assemblies:   ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 2.0.420.0
  ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 2.0.420.0
Syntax
[SerializableAttribute]
[FlagsAttribute]
public enum Features
Members
  Member nameValueDescription
Class11 WebDAV Class 1 compliant item.
Class22 WebDAV Class 2 compliant item.
VersionControl4 DeltaV version-control compliant item.
CheckoutInPlace16 Checkout-in-place item support check out, check in and uncheckout operations.
VersionHistory32 DeltaV Version History compliant item.
Update64 DeltaV Update compliant item.
ResumableUpload128 Item supports resumable upload.
ResumableDownload256 Item supports resumable download.
Remarks
This enumeration represents WebDAV server item compliance.
Examples
string license = "<?xml version='1.0' encoding='utf...
WebDavSession session = new WebDavSession(license);
session.Credentials = new NetworkCredential("User1", "pwd");
IHierarchyItem item = session.OpenFile(new Uri("http://server:8580/Products/Sales.txt"));
if ( ((item.SupportedFeatures()) & Features.Class2) != 0 )
    Console.WriteLine("Class 2 item. This item supports locking.");
else
    Console.WriteLine("Class 1 item. This item does not support locking.");
See Also