websitepanel/WebsitePanel/Sources/WebsitePanel.WebDav.Core/IItemContent.cs
2014-12-03 11:43:26 +03:00

20 lines
No EOL
533 B
C#

using System.IO;
namespace WebsitePanel.WebDav.Core
{
namespace Client
{
public interface IItemContent
{
long ContentLength { get; }
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);
}
}
}