Namespace: ITHit.WebDAV.Client
The IVersionAsync type exposes the following members.
Name | Description | |
---|---|---|
ActiveLocks | Array of item's lock descriptions. (Inherited from IHierarchyItemAsync.) | |
AllowWriteStreamBuffering |
Gets or sets a value that indicates whether to buffer the data sent to server.
(Inherited from IConnectionSettingsAsync.) | |
ContentLength |
Length of the file content.
(Inherited from IItemContentAsync.) | |
ContentType |
Content type of the file.
(Inherited from IItemContentAsync.) | |
CreationDate |
The date item was created.
(Inherited from IHierarchyItemAsync.) | |
DisplayName | User friendly item name. (Inherited from IHierarchyItemAsync.) | |
Etag |
Gets entity tag - string that identifies current state of file's content.
(Inherited from IItemContentAsync.) | |
Href |
This item path on the server.
(Inherited from IHierarchyItemAsync.) | |
ItemType |
Type of the item (File, Folder, Version or VersionHistory)
(Inherited from IHierarchyItemAsync.) | |
LastModified |
Most recent modification date.
(Inherited from IHierarchyItemAsync.) | |
Properties |
Custom properties retrieved by GetChildrenAsync(Boolean, PropertyName) call.
(Inherited from IHierarchyItemAsync.) | |
ResumableUpload |
Returns instance of IResumableUploadAsync to manage partially failed uploads.
(Inherited from IItemContentAsync.) | |
SendChunked |
Gets or sets a value that indicates whether to send data in segments.
(Inherited from IConnectionSettingsAsync.) | |
SupportedLock | Lock types supported by the item. (Inherited from IHierarchyItemAsync.) | |
TimeOut |
Sets and gets time-out in milliseconds.
(Inherited from IConnectionSettingsAsync.) | |
VersionName |
Name of the version.
|
Name | Description | |
---|---|---|
CopyToAsync(IFolderAsync, String, Boolean, Boolean) |
Copies this item to destination folder.
(Inherited from IHierarchyItemAsync.) | |
CopyToAsync(IFolderAsync, String, Boolean, Boolean, LockUriTokenPair) |
Copies this item to destination folder.
(Inherited from IHierarchyItemAsync.) | |
DeleteAsync |
Deletes this item.
(Inherited from IHierarchyItemAsync.) | |
DeleteAsync(String) |
Deletes this item.
(Inherited from IHierarchyItemAsync.) | |
DeleteAsync(LockUriTokenPair) |
Deletes this item.
(Inherited from IHierarchyItemAsync.) | |
DownloadAsync |
Downloads content of the file to a file specified by filename (Inherited from IItemContentAsync.) | |
GetActiveLocksAsync | Obsolete.
Retrieves lock information about this item.
(Inherited from IHierarchyItemAsync.) | |
GetAllPropertiesAsync |
Retrieves all custom properties exposed by the item.
(Inherited from IHierarchyItemAsync.) | |
GetCommentAsync |
Brief comment about an item that is suitable for presentation to a user.
(Inherited from IHierarchyItemAsync.) | |
GetCreatorDisplayNameAsync |
Contains a description of the creator of the item that is suitable for presentation to a user.
(Inherited from IHierarchyItemAsync.) | |
GetParentAsync |
Retrieves parent hierarchy item of this item.
(Inherited from IHierarchyItemAsync.) | |
GetPredecessorsAsync |
Returns predessors of this version.
| |
GetPropertyNamesAsync |
Returns names of all custom properties exposed by this item.
(Inherited from IHierarchyItemAsync.) | |
GetPropertyValuesAsync |
Retrieves values of specific properties.
(Inherited from IHierarchyItemAsync.) | |
GetReadStreamAsync |
Loads content of the file from WebDAV server.
(Inherited from IItemContentAsync.) | |
GetReadStreamAsync(Int64, Int64) |
Loads part of the content of the file from WebDAV server.
(Inherited from IItemContentAsync.) | |
GetReadStreamAsync(Int64, Int64, DateTime) |
Loads part of the content of the file from WebDAV server using lastModifiedUtc
to ensure the content is up-to-date.
(Inherited from IItemContentAsync.) | |
GetReadStreamAsync(Int64, Int64, String) |
Loads part of the content of the file from WebDAV server using eTag to
ensure the content is up-to-date.
(Inherited from IItemContentAsync.) | |
GetSourceAsync |
Retrieves media type independent links.
(Inherited from IHierarchyItemAsync.) | |
GetSuccessorsAsync |
Returns successors of this version.
| |
GetSupportedLockAsync | Obsolete. Retrieves information about supported locks. (Inherited from IHierarchyItemAsync.) | |
GetVersionableItemAsync | IFileAsync item this version relates to.
| |
GetWriteStreamAsync(Int64) |
Saves file's content to WebDAV server.
(Inherited from IItemContentAsync.) | |
GetWriteStreamAsync(String, Int64) |
Saves file's content to WebDAV server.
(Inherited from IItemContentAsync.) | |
GetWriteStreamAsync(String, Int64, String) |
Saves files's content to WebDAV server.
(Inherited from IItemContentAsync.) | |
LockAsync |
Locks the item.
(Inherited from IHierarchyItemAsync.) | |
MoveToAsync(IFolderAsync, String, Boolean) |
Moves this item to another location.
(Inherited from IHierarchyItemAsync.) | |
MoveToAsync(IFolderAsync, String, Boolean, LockUriTokenPair) |
Moves this item to another location.
(Inherited from IHierarchyItemAsync.) | |
RefreshAsync |
Rereads item properties from server.
(Inherited from IHierarchyItemAsync.) | |
RefreshLockAsync |
Prolongs the lock.
(Inherited from IHierarchyItemAsync.) | |
SetCommentAndAuthorAsync(String, String) |
Updates comment and author information.
(Inherited from IHierarchyItemAsync.) | |
SetCommentAndAuthorAsync(String, String, String) |
Updates comment and author information.
(Inherited from IHierarchyItemAsync.) | |
SupportedFeaturesAsync |
Gets the information about functionality supported by server (Class 1, Class 2 and so on).
(Inherited from IHierarchyItemAsync.) | |
UnlockAsync |
Removes the lock.
(Inherited from IHierarchyItemAsync.) | |
UpdatePropertiesAsync(Property, PropertyName) |
Updates values of properties exposed by this item.
(Inherited from IHierarchyItemAsync.) | |
UpdatePropertiesAsync(Property, PropertyName, String) |
Updates values of properties exposed by this item.
(Inherited from IHierarchyItemAsync.) | |
UploadAsync(String) |
Uploads content of a file specified by filename to the server
(Inherited from IItemContentAsync.) | |
UploadAsync(String, String) |
Uploads content of a file specified by filename to the server
(Inherited from IItemContentAsync.) |
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) { MessageBox.Show(version.VersionName); }