Upload a file from a stream. This method does not block the calling thread.

Namespace:  IpernityNET.IpernityObjects
Assembly:  IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)

Syntax

C#
public void UploadFileAsync(
	UploadStream upStream,
	string title
)
Visual Basic (Declaration)
Public Sub UploadFileAsync ( _
	upStream As UploadStream, _
	title As String _
)
Visual C++
public:
void UploadFileAsync(
	UploadStream^ upStream, 
	String^ title
)

Parameters

upStream
Type: IpernityNET..::.UploadStream
An UploadStream object containing the stream and the file name to use
title
Type: System..::.String
The title of the file

Remarks

This method encapsulates upload.file This method requires "write" permission on docs.

Exceptions

ExceptionCondition
IpernityNET.IpernityObjects..::.ObjectNotConfiguredExceptionThrowed when an Ipernity object has not been configured. Use the method ConfigureIpernityObject(IpernityObject) to configure the object and allow it to interact with Ipernity

See Also