Namespace: ITHit.WebDAV.Client
The PropertyName type exposes the following members.
Name | Description | |
---|---|---|
PropertyName |
Initializes new instance of PropertyName.
|
Name | Description | |
---|---|---|
Equals |
Checks whether objects are equal.
(Overrides ObjectEquals(Object).) | |
GetHashCode |
Returns has code.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString |
Returns string representation of current property name.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
Equality |
The equality operator (==).
| |
Inequality |
The inequality operator (!=).
|
Name | Description | |
---|---|---|
Name |
Name of the property.
| |
NamespaceUri |
Namespace of the property.
|
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); }