LumiSoft Net Help
SwitchToSecure Method
Namespaces ► LumiSoft.Net.TCP ► TCP_ServerSession ► SwitchToSecure()()()()
Switches session to secure connection.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public void SwitchToSecure()

    Public Sub SwitchToSecure

    public:
    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 connection is already secure or when SSL certificate is not specified.

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