The NetworkSession type exposes the following members.

Constructors

  NameDescription
Protected methodSupported by the .NET Compact FrameworkNetworkSession
Creates a new instance of NetworkSession object.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
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 methodSupported by the .NET Compact FrameworkGetHashCode
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 methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyStatic memberSupported by the .NET Compact FrameworkDefaultLogWriter
Gets or sets a default log writer used by all new instances of NetworkSession object.
Protected propertySupported by the .NET Compact FrameworkInstanceId
Gets instance ID (intended for logging purposes).
Public propertySupported by the .NET Compact FrameworkIsAuthenticated
Gets a value indicating whether the session is authenticated.
Public propertySupported by the .NET Compact FrameworkIsConnected
Gets a value indicating whether the session is connected.
Public propertySupported by the .NET Compact FrameworkLogWriter
Gets or sets the LogWriter used by this object.
Public propertySupported by the .NET Compact FrameworkServerName
Gets the server name, if available.
Public propertySupported by the .NET Compact FrameworkServerPort
Gets the server port, if available.
Public propertySupported by the .NET Compact FrameworkUserName
Gets the authenticated user name, if available.

See Also