Search Results for

    Show / Hide Table of Contents

    Interface IAutoUpdaterChecker

    Used to check if a new version of the application that is running is available for download, and can also download it.

    Namespace: LemonEdge.Client.UI.API.Windows
    Assembly: LemonEdge.Client.UI.API.dll
    Syntax
    public interface IAutoUpdaterChecker

    Properties

    ShouldCheckForNewVersions

    Check for new version if AutoUpdaterPath and UpdatePath is available

    Declaration
    bool ShouldCheckForNewVersions { get; }
    Property Value
    Type Description
    bool

    Methods

    DownloadAndUnPackPackage(string, string)

    Downloads and extract files from package

    Declaration
    Task DownloadAndUnPackPackage(string basePath, string packageName)
    Parameters
    Type Name Description
    string basePath

    Base Path from which package is to be downloaded

    string packageName

    package name which is to be extracted after download

    Returns
    Type Description
    Task

    GetAppVersion()

    Get App Version of the first executable assembly

    Declaration
    string GetAppVersion()
    Returns
    Type Description
    string

    GetAppVersion(Assembly)

    Get App version of the particular assembly

    Declaration
    string GetAppVersion(Assembly assem)
    Parameters
    Type Name Description
    Assembly assem

    Assembly which version is to be identified

    Returns
    Type Description
    string

    GetLocalExeInfo()

    Get App Name and Version from first executable assembly

    Declaration
    (string Name, Version? Version) GetLocalExeInfo()
    Returns
    Type Description
    (string Name, Version Version)

    GetLocalUpdaterVersion()

    Gets Local Updater Version from latestupdater.txt

    Declaration
    Task<Version?> GetLocalUpdaterVersion()
    Returns
    Type Description
    Task<Version>

    GetReleaseDate()

    Get Release Date from first executable assembly's version

    Declaration
    string GetReleaseDate()
    Returns
    Type Description
    string

    IsNewUpdaterVersionAvailable()

    checks new updater version availability

    Declaration
    Task<(bool NewVersionIsGreaterThanCurrent, string NewVersionPackageName)> IsNewUpdaterVersionAvailable()
    Returns
    Type Description
    Task<(bool IsValid, string ValidationFailureMessage)>

    IsNewVersionAvailable()

    Checks New Application Version availability

    Declaration
    Task<(bool NewVersionIsGreaterThanCurrent, string NewVersionPackageName)> IsNewVersionAvailable()
    Returns
    Type Description
    Task<(bool IsValid, string ValidationFailureMessage)>

    UpdateThisApp(string, string)

    Update the app using AutoUpdater.exe

    Declaration
    void UpdateThisApp(string updaterPackageName, string thisAppPackageName)
    Parameters
    Type Name Description
    string updaterPackageName
    string thisAppPackageName

    VerifyUpdates(IModelLayoutCommon, IRootController)

    Verify for new available version and updates the app if it exist

    Declaration
    Task VerifyUpdates(IModelLayoutCommon owner, IRootController controller)
    Parameters
    Type Name Description
    IModelLayoutCommon owner
    IRootController controller
    Returns
    Type Description
    Task

    VersionToPackageName(Version)

    Creates package name using app name and requested version

    Declaration
    string VersionToPackageName(Version requestedVersion)
    Parameters
    Type Name Description
    Version requestedVersion

    version to be concatenated with app name to get package name

    Returns
    Type Description
    string

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.