Click or drag to resize
INewVersionChecker Interface
The interface for objects that can check with the VirtualRadarServer website to see whether a new version is available for download.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface INewVersionChecker : ISingleton<INewVersionChecker>

The INewVersionChecker type exposes the following members.

Properties
  NameDescription
Public propertyDownloadUrl
Gets the URL of the new version of the application.
Public propertyIsNewVersionAvailable
Gets a value indicating that a new version is avaiable for download from the website.
Public propertyProvider
Gets or sets the provider that abstracts away the environment for testing purposes.
Public propertySingleton
Gets the single instance of the class that should be used throughout the application.
(Inherited from ISingletonT.)
Top
Methods
  NameDescription
Public methodCheckForNewVersion
Checks to see whether a new version is available, returning true if it is and setting IsNewVersionAvailable.
Top
Events
  NameDescription
Public eventNewVersionAvailable
Raised when CheckForNewVersion detects that a new version is available for download. It is recommended that you hook the version of this on Singleton and be prepared for it being called on a non-GUI thread.
Top
See Also