AppUpdater.UpdateManager.CheckForUpdate C# (CSharp) Method

CheckForUpdate() public method

public CheckForUpdate ( ) : UpdateInfo
return UpdateInfo
        public UpdateInfo CheckForUpdate()
        {
            string serverCurrentVersion = updateServer.GetCurrentVersion();
            bool hasUpdate = CurrentVersion != serverCurrentVersion;
            return new UpdateInfo(hasUpdate, serverCurrentVersion);
        }