Click or drag to resize

IContentAsync Interface

IT Hit WebDAV Classes Reference
Base interface for items that have content, like IFileAsync.

Namespace: ITHit.WebDAV.Server
Assembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 7.1.4620
Syntax
public interface IContentAsync

The IContentAsync type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleContentLength
Gets the size of the file content in bytes.
Public propertyCode exampleContentType
Gets the media type of the file.
Public propertyCode exampleEtag
Gets entity tag - string that identifies current state of resource's content.
Top
Methods
  NameDescription
Public methodCode exampleReadAsync
Reads the file content from the repository and writes it to the specified stream.
Public methodCode exampleWriteAsync
Saves the content of the file from the specified stream to the WebDAV repository.
Top
See Also