Switches session to secure connection.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
protected void SwitchToSecure()
Protected Sub SwitchToSecure
protected: void SwitchToSecure()
member SwitchToSecure : unit -> unit
![](../icons/collapse_all.gif)
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