CSharpTest.Net
Upload Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Crypto Namespace > SecureTransfer.Client Class : Upload Method

Glossary Item Box

Called to send a single file to the remove 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.

Overload List

OverloadDescription
Upload(String,String)Called to send a single file to the remove 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.  
Upload(String,Int64,Stream)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.  

Requirements

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

See Also

Generated with Document! X 2011 by Innovasys