This function uploads the given byte array data to the VC. The destination stream will be created during this operation and cannot exist prior to upload.

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

Syntax

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

Parameters

source
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 transferring data to the VC.
expirationTime
Type: TimeSpan
Time at which the stream should expire.

See Also