This function uploads the given byte array data to the vc.

Namespace: VcClient.Test
Assembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)

Syntax

C#
public delegate void Upload(
	byte[] sourceFile,
	string destinationStream,
	bool compression,
	TimeSpan expirationTime
)
Visual Basic
Public Delegate Sub Upload ( _
	sourceFile As Byte(), _
	destinationStream As String, _
	compression As Boolean, _
	expirationTime As TimeSpan _
)
Visual C++
public delegate void Upload(
	array<unsigned char>^ sourceFile, 
	String^ destinationStream, 
	bool compression, 
	TimeSpan expirationTime
)

Parameters

sourceFile
Type: array<Byte>[]()[][]
The byte array that contains the data needs to be uploaded.
destinationStream
Type: String
The name of the stream that needs to be created for the upload (i.e) the stream to which the data needs to be uploaded
compression
Type: Boolean
Whether compression should be used while transfering data to the VC.
expirationTime
Type: TimeSpan
Time at which the stream should expire.

See Also