# Class UpdateChecker | EchoHub Documentation

# Class UpdateChecker

Namespace
  EchoHub.Client.Services

Assembly
  EchoHub.Client.dll

    public sealed class UpdateChecker : IDisposable

Inheritance
  object
  UpdateChecker

Implements
  IDisposable

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

## Constructors

### UpdateChecker(IApplication)

    public UpdateChecker(IApplication app)

#### Parameters

`app` IApplication

## Properties

### CurrentVersion

    public static string CurrentVersion { get; }

#### Property Value

string

### PendingUpdate

Set when the user confirms an update. The host runs this after the Terminal.Gui main loop has exited and the console is restored, so the library's in-place restart doesn't deadlock against a TUI that still owns the console.

    public Func<Task>? PendingUpdate { get; }

#### Property Value

Func<Task>

## Methods

### CheckNowAsync()

    public Task CheckNowAsync()

#### Returns

Task

### Dispose()

    public void Dispose()

### Start()

    public void Start()