CSharpTest.Net
Download(String,Stream) Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Crypto Namespace > SecureTransfer.Client Class > Download Method : Download(String,Stream) Method

location
A string of up to 1024 bytes in length
output
Any writable stream that can seek

Glossary Item Box

Called to send a specific length of bytes to a server identified by serverKey. The transfer is a blocking call and returns on success or raises an exception. If Abort() is called durring the transfer, or if a ProgressChanged event handler raises the OperationCanceledException, the transfer is silently terminated and the method will return false.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Download( _
   ByVal location As String, _
   ByVal output As Stream _
) As Boolean
C# 
public bool Download( 
   string location,
   Stream output
)

Parameters

location
A string of up to 1024 bytes in length
output
Any writable stream that can seek

Return Value

True if the file was successfully received by the server

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys