Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

NetworkSession Class

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9119)

A base class from which all Rebex session-based network protocol objects derive.

Syntax
public abstract class NetworkSession : ILogWriterProvider
Inheritance
Object
NetworkSession
Ews
FileTransferClient
Ftp
GraphClient
Imap
Pop3
Scp
Sftp
Smtp
Ssh
SshSession
WebSocketClient
Implements
ILogWriterProvider
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Constructors

Name Description
NetworkSession()

Creates a new instance of NetworkSession object.

Properties

Name Description
DefaultLogWriter

Gets or sets a default log writer used by all new instances of NetworkSession object.

InstanceId

Gets instance ID (intended for logging purposes).

IsAuthenticated

Gets a value indicating whether the session is authenticated.

IsConnected

Gets a value indicating whether the session is connected.

LogWriter

Gets or sets the LogWriter used by this object.

ServerName

Gets the server name, if available.

ServerPort

Gets the server port, if available.

UserName

Gets the authenticated user name, if available.

Methods

Name Description
GetHashCode()

Gets hash code for this object.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies