Click or drag to resize

IVersionAsyncVersionName Property

IT Hit WebDAV Classes Reference
Name of the version.

Namespace:  ITHit.WebDAV.Client
Assembly:  ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 2.0.420.0
string VersionName { get; }

Property Value

Type: String
String representing version name.
This property contains a server-defined string that is different for each version. This string is intended for display for a user.
The following example demonstrates how to list file versions.
string license = "<?xml version='1.0' encoding='utf...
WebDavSessionAsync session = new WebDavSessionAsync(license);
session.Credentials = new NetworkCredential("User1", "pwd");

IFileAsync file = await session.OpenFileAsync(new Uri("http://server/directory/file.docx"));
IVersionAsync[] versions = await file.GetVersionsAsync();
foreach (IVersionAsync version in versions)
See Also