LumiSoft Net Help
TCP_Session Class
NamespacesLumiSoft.Net.TCPTCP_Session
This is base class for TCP_Client and TCP_ServerSession.
Declaration Syntax
C#Visual BasicVisual C++F#
public abstract class TCP_Session : IDisposable
Public MustInherit Class TCP_Session
	Implements IDisposable
public ref class TCP_Session abstract : IDisposable
[<AbstractClassAttribute>]
type TCP_Session =  
    class
        interface IDisposable
    end
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
TCP_Session()()()()
Default constructor.

AuthenticatedUserIdentity
Gets session authenticated user identity , returns null if not authenticated.

ConnectTime
Gets the time when session was connected.

Disconnect()()()()
Disconnects session.

Dispose()()()()
Cleans up any resources being used.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ID
Gets session ID.

IsAuthenticated
Gets if this session is authenticated.

IsConnected
Gets if session is connected.

IsSecureConnection
Gets if this session TCP connection is secure connection.

LastActivity
Gets the last time when data was sent or received.

LocalEndPoint
Gets session local IP end point.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
RemoteEndPoint
Gets session remote IP end point.

TcpStream
Gets TCP stream which must be used to send/receive data through this session.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy

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