LumiSoft Net Help
SwitchToSecureAsync Method (op)
NamespacesLumiSoft.Net.TCPTCP_ClientSwitchToSecureAsync(TCP_Client..::..SwitchToSecureAsyncOP)
Starts switching connection to secure.
Declaration Syntax
C#Visual BasicVisual C++F#
protected bool SwitchToSecureAsync(
	TCP_Client..::..SwitchToSecureAsyncOP op
)
Protected Function SwitchToSecureAsync ( 
	op As TCP_Client..::..SwitchToSecureAsyncOP
) As Boolean
protected:
bool SwitchToSecureAsync(
	TCP_Client..::..SwitchToSecureAsyncOP^ op
)
member SwitchToSecureAsync : 
        op : TCP_Client..::..SwitchToSecureAsyncOP -> bool 
Parameters
op (TCP_Client..::..SwitchToSecureAsyncOP)
Asynchronous operation.
Return Value
Boolean
Returns true if aynchronous operation is pending (The CompletedAsync event is raised upon completion of the operation). Returns false if operation completed synchronously.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and and this method is accessed.
InvalidOperationExceptionIs raised when TCP client is not connected or connection is already secure.
ArgumentNullExceptionIs raised when op is null reference.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119