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.3+0a73c45f0c78941900e328c6c6b819597b665e00
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