using System.IO;
namespace Mtp2Dav.WebDAVSharp.Server._1d2086a502937936ebc6bfe19cfa15d855be1c31.Stores
{
///
/// This interface must be implemented by classes that will function as a store document.
///
public interface IWebDavStoreDocument : IWebDavStoreItem
{
///
/// Gets the size of the document in bytes.
///
long Size { get; }
///
/// Gets the mime type of .
///
///
/// The type of the MIME.
///
string MimeType { get; }
///
/// Gets the etag of this .
///
///
/// The etag.
///
string Etag { get; }
///
/// Opens a object for the document, in read-only mode.
///
///
/// The object that can be read from.
///
Stream OpenReadStream();
///
/// Opens a object for the document, in write-only mode.
///
///
/// A value indicating whether to append to the existing document;
/// if
/// false, the existing content will be dropped.
///
///
/// The object that can be written to.
///
Stream OpenWriteStream(bool append);
}
}