C# Class AppUpdater.Server.DefaultUpdateServer

Inheritance: IUpdateServer
Mostra file Open project: diogomafra/AppUpdater

Public Methods

Method Description
DefaultUpdateServer ( Uri updateServerUrl ) : System
DownloadFile ( string version, string filename ) : byte[]
GetCurrentVersion ( ) : string
GetManifest ( string version ) : VersionManifest

Private Methods

Method Description
DownloadBinary ( string filename ) : byte[]
DownloadString ( string filename ) : string
GetVersionFilename ( string version, string filename ) : string

Method Details

DefaultUpdateServer() public method

public DefaultUpdateServer ( Uri updateServerUrl ) : System
updateServerUrl System.Uri
return System

DownloadFile() public method

public DownloadFile ( string version, string filename ) : byte[]
version string
filename string
return byte[]

GetCurrentVersion() public method

public GetCurrentVersion ( ) : string
return string

GetManifest() public method

public GetManifest ( string version ) : VersionManifest
version string
return AppUpdater.Manifest.VersionManifest