/// <summary> /// Initialize the session with a given server /// </summary> /// <param name="server">SSL server</param> public SslSession(SslServer server) { Id = Guid.NewGuid(); Server = server; OptionReceiveBufferSize = server.OptionReceiveBufferSize; OptionSendBufferSize = server.OptionSendBufferSize; }
/// <summary> /// Initialize the session with a given server /// </summary> /// <param name="server">SSL server</param> public SslSession(SslServer server) { Id = Guid.NewGuid(); Server = server; }