mirror of
https://github.com/openziti/desktop-edge-win.git
synced 2026-10-13 08:11:16 +00:00
17 lines
590 B
C#
17 lines
590 B
C#
using System;
|
|
using System.IO;
|
|
|
|
using NLog;
|
|
|
|
namespace ZitiUpdateService.checkers {
|
|
|
|
abstract class UpdateCheck {
|
|
public abstract int IsUpdateAvailable(Version current);
|
|
public abstract string FileName();
|
|
public abstract void CopyUpdatePackage(string destinationFolder, string destinationName);
|
|
public abstract bool AlreadyDownloaded(string destinationFolder, string destinationName);
|
|
public abstract bool HashIsValid(string destinationFolder, string destinationName);
|
|
public abstract Version GetNextVersion();
|
|
}
|
|
}
|