DavFile.WriteAsync Method

Namespace:
Weavy.Web.WebDAV
Assembly:
Weavy.Web.dll

WriteAsync(Stream, String, Int64, Int64)

Saves the content of the file from the specified stream to the WebDAV repository.

public Task WriteAsync(Stream content, string contentType, long startIndex, long totalLength)

Parameters

content
System.IO.Stream
contentType
System.String
startIndex
System.Int64
totalLength
System.Int64

Returns

System.Threading.Tasks.Task{System.Boolean}

Boolean value indicating whether entire stream was written. This value is used by engine to take decision whether autocheckin shall be performed.