The NetworkSession type exposes the following members.

Constructors

  NameDescription
Protected methodNetworkSession
Creates a new instance of NetworkSession object.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyStatic memberDefaultLogWriter
Gets or sets a default log writer used by all new instances of NetworkSession object.
Protected propertyInstanceId
Gets instance ID (intended for logging purposes).
Public propertyIsAuthenticated
Gets a value indicating whether the session is authenticated.
Public propertyIsConnected
Gets a value indicating whether the session is connected.
Public propertyLogWriter
Gets or sets the LogWriter used by this object.
Public propertyServerName
Gets the server name, if available.
Public propertyServerPort
Gets the server port, if available.
Public propertyUserName
Gets the authenticated user name, if available.

See Also