LumiSoft Net Help
SwitchToSecureAsync Method (op)
NamespacesLumiSoft.Net.TCPTCP_ServerSessionSwitchToSecureAsync(TCP_ServerSession..::..SwitchToSecureAsyncOP)
Starts switching connection to secure.
Declaration Syntax
C#Visual BasicVisual C++F#
public bool SwitchToSecureAsync(
	TCP_ServerSession..::..SwitchToSecureAsyncOP op
)
Public Function SwitchToSecureAsync ( 
	op As TCP_ServerSession..::..SwitchToSecureAsyncOP
) As Boolean
public:
bool SwitchToSecureAsync(
	TCP_ServerSession..::..SwitchToSecureAsyncOP^ op
)
member SwitchToSecureAsync : 
        op : TCP_ServerSession..::..SwitchToSecureAsyncOP -> bool 
Parameters
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 connection is already secure or when SSL certificate is not specified.
ArgumentNullExceptionIs raised when op is null reference.

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