# Class SavedServer | EchoHub Documentation

# Class SavedServer

Namespace
  EchoHub.Client.Config

Assembly
  EchoHub.Client.dll

    public class SavedServer

Inheritance
  object
  SavedServer

Inherited Members
  object.GetType()
  object.MemberwiseClone()
  object.ToString()
  object.Equals(object)
  object.Equals(object, object)
  object.ReferenceEquals(object, object)
  object.GetHashCode()

## Constructors

### SavedServer()

    public SavedServer()

## Properties

### ChannelKeys

Cached room content keys for end-to-end encrypted channels on this server, keyed by channel name and encrypted at rest (see RoomKeyProtector; legacy entries were plain base64). Like RefreshToken, these live only on the user's machine — the server never sees them.

    public Dictionary<string, string> ChannelKeys { get; set; }

#### Property Value

Dictionary<string, string>

### LastConnected

    public DateTimeOffset LastConnected { get; set; }

#### Property Value

DateTimeOffset

### LastReadMessages

Last message the user has read per channel (message id as string), persisted so unread counts, @mention highlights, and the "new messages" marker survive restarts.

    public Dictionary<string, string> LastReadMessages { get; set; }

#### Property Value

Dictionary<string, string>

### LeftChannels

Channels the user explicitly left with /leave. Excluded from the automatic join-all-channels pass at connect until the user joins them again.

    public List<string> LeftChannels { get; set; }

#### Property Value

List<string>

### Name

    public required string Name { get; set; }

#### Property Value

string

### RefreshToken

    public string? RefreshToken { get; set; }

#### Property Value

string

### RememberMe

    public bool RememberMe { get; set; }

#### Property Value

bool

### Url

    public required string Url { get; set; }

#### Property Value

string

### Username

    public string? Username { get; set; }

#### Property Value

string