websitepanel/WebsitePanel/Sources/WebsitePanel.WebDav.Core/IItemContent.cs
2015-01-20 04:51:23 -08:00

21 lines
No EOL
580 B
C#

using System.IO;
namespace WebsitePanel.WebDav.Core
{
namespace Client
{
public interface IItemContent
{
long ContentLength { get; }
long AllocatedSpace { get; set; }
string ContentType { get; }
void Download(string filename);
byte[] Download();
void Upload(string filename);
Stream GetReadStream();
Stream GetWriteStream(long contentLength);
Stream GetWriteStream(string contentType, long contentLength);
}
}
}