Switches session to secure connection.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
protected void SwitchToSecure()
Protected Sub SwitchToSecure
protected: void SwitchToSecure()
member SwitchToSecure : unit -> unit
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
InvalidOperationException | Is raised when TCP client is not connected or is already secure. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119