Namespace: ITHit.WebDAV.Client
The OptionsInfo type exposes the following members.
Name | Description | |
---|---|---|
OptionsInfo |
Creates new instance of OptionsInfo class
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Features |
Classes of WebDAV protocol supported by the item.
| |
IisServer |
Returns true if current server is IIS
| |
MsAuthorViaDav |
A nonstandard header meaning the server supports WebDAV protocol.
|
OptionsInfo options = await root.SupportedFeaturesAsync(); Features features = options.Features; if ((features & Features.Class2) != 0) Console.WriteLine("Resourse supports locking."); else Console.WriteLine("Resourse does not support locking.");