Click or drag to resize

ChunkedUploadSource(WikiSite, Stream) Constructor

This is preliminary documentation and is subject to change.

Initialize an instance from a Stream.

Namespace: WikiClientLibrary.Files
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public ChunkedUploadSource(
	WikiSite site,
	Stream sourceStream
)

Parameters

site  WikiSite
The destination site to upload the file.
sourceStream  Stream
The seekable stream containing the file to be uploaded. The upload will be performed starting from the current position.
Exceptions
ExceptionCondition
ArgumentNullExceptionsite or sourceStream is null.
ArgumentExceptionsourceStream does not support seeking - or - sourceStream has met EOF.
See Also