This documentation is archived and is not being maintained.

TeamFoundationStrongBoxService::UploadFile Method

Add a file to the StrongBox Drawer. This method uploads the file via chunks, and therefore can be any size.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public:
void UploadFile(
	Guid drawerId, 
	String^ lookupKey, 
	Stream^ file
)

Parameters

drawerId
Type: System::Guid

The unique identifier returned from CreateDrawer or UnlockDrawer.

lookupKey
Type: System::String

The identifier that is used to look up the value in the drawer.

file
Type: System.IO::Stream

The stream of the file.

Show: