Click or drag to resize

PropertyName Field

IT Hit WebDAV Classes Reference
Property Name.

Namespace:  ITHit.WebDAV.Client
Assembly:  ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 6.0.4052-Beta
Syntax
public readonly PropertyName Name

Field Value

Type: PropertyName
Remarks
Name of the custom property.
Examples
string license = "<?xml version='1.0' encoding='utf...
WebDavSession session = new WebDavSession(license);
session.Credentials = new NetworkCredential("User1", "pwd");
IFile file = await session.GetFileAsync(new Uri("https://server/Library/doc.txt"));

Property[] properties = await file.GetAllPropertiesAsync();
foreach(Property prop in properties)
{
   Console.WriteLine(prop.Name.NamespaceUri + ":" + prop.Name.Name + " " + prop.StringValue);
}
See Also