Click or drag to resize

IceVaultClientCreateFileContentAsync Method (String, String, Int32, Stream, CancellationToken, IProgressInt64)

Creates file content on the vault server by uploading the binary content from the inputStream.

Namespace:  PDTec.IceNet.Domain.VaultClient
Assembly:  PDTec.IceNet.Domain (in PDTec.IceNet.Domain.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public Task CreateFileContentAsync(
	string createUrl,
	string appendUrl,
	int chunkSize,
	Stream inputStream,
	CancellationToken cancellationToken,
	IProgress<long> progress = null
)

Parameters

createUrl
Type: SystemString
The URL to upload the initial chunk of data on the vault server.
appendUrl
Type: SystemString
The URL to upload subsequent chunks of data on the vault server.
chunkSize
Type: SystemInt32
The maximum upload chunk size.
inputStream
Type: System.IOStream
The stream to read the file content from.
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.
progress (Optional)
Type: SystemIProgressInt64
The progress callback handler.

Return Value

Type: Task
See Also