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

privateKey
The private key for this client
serverKey
The public key of the server
sendMessage
A delegate to transfer data to the server and obtain a response

Glossary Item Box

Constructed to send one or more files to a 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.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal privateKey As RSAPrivateKey, _
   ByVal serverKey As RSAPublicKey, _
   ByVal sendMessage As SecureTransfer.Client.TransmitMessageAction _
)

Parameters

privateKey
The private key for this client
serverKey
The public key of the server
sendMessage
A delegate to transfer data to the server and obtain a response

Requirements

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

See Also

Generated with Document! X 2011 by Innovasys