C# Class ImageGlass.Services.Update

Mostrar archivo Open project: d2phap/ImageGlass Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
GetUpdateConfig ( Uri link, string savedPath ) : bool

Get update data from server

Method Details

CheckForUpdate() public method

Load current ImageGlass.exe file and compare to the latest version. Equal is TRUE, else FALSE
public CheckForUpdate ( string exePath ) : bool
exePath string
return bool

LoadUpdateConfig() public method

Load update data from XML file
public LoadUpdateConfig ( string filename ) : void
filename string
return void

Update() public method

Provides structure, method of Update
public Update ( ) : System
return System

Update() public method

Provides structure, method of Update
public Update ( Uri link, string savedPath ) : System
link System.Uri
savedPath string
return System