IHierarchyItemSupportedFeaturesAsync Method 
IT Hit WebDAV Classes Reference 
            Gets the information about functionality supported by server (Class 1, Class 2 and so on).
            
 
    Namespace: 
   ITHit.WebDAV.Client
    Assembly:
   ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 6.0.4052-Beta
SyntaxTask<OptionsInfo> SupportedFeaturesAsync()
Function SupportedFeaturesAsync As Task(Of OptionsInfo)
Task<OptionsInfo^>^ SupportedFeaturesAsync()
abstract SupportedFeaturesAsync : unit -> Task<OptionsInfo> 
Return Value
Type: 
TaskOptionsInfoOptionsInfo object containing information about current server possibilities.
Examplesstring 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 & 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