C# Класс ImageGlass.Services.Update

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CheckForUpdate ( string exePath ) : bool

Load current ImageGlass.exe file and compare to the latest version. Equal is TRUE, else FALSE

LoadUpdateConfig ( string filename ) : void

Load update data from XML file

Update ( ) : System

Provides structure, method of Update

Update ( Uri link, string savedPath ) : System

Provides structure, method of Update

Приватные методы

Метод Описание
GetUpdateConfig ( Uri link, string savedPath ) : bool

Get update data from server

Описание методов

CheckForUpdate() публичный Метод

Load current ImageGlass.exe file and compare to the latest version. Equal is TRUE, else FALSE
public CheckForUpdate ( string exePath ) : bool
exePath string
Результат bool

LoadUpdateConfig() публичный Метод

Load update data from XML file
public LoadUpdateConfig ( string filename ) : void
filename string
Результат void

Update() публичный Метод

Provides structure, method of Update
public Update ( ) : System
Результат System

Update() публичный Метод

Provides structure, method of Update
public Update ( Uri link, string savedPath ) : System
link System.Uri
savedPath string
Результат System