C# Class SevenUpdate.Search

Contains methods to search for updates.
Datei anzeigen Open project: robertbaker/SevenUpdate

Public Methods

Method Description
SearchForUpdates ( IEnumerable applications, string downloadFolder ) : void

Searches for updates while blocking the calling thread.

SearchForUpdatesAsync ( IEnumerable applications, string downloadFolder ) : void

Searches for files without blocking the calling thread.

SetUpdatesFound ( IEnumerable updates ) : void

Manually sets an Sui collection has updates found.

Private Methods

Method Description
CheckForUpdates ( Sui &app ) : bool

Checks for updates.

IterateUpdate ( Update &update, string directory, string valueName, System.Platform platform ) : ulong

Iterates through the update and removes un needed values. Returns the download size for the update.

Method Details

SearchForUpdates() public static method

Searches for updates while blocking the calling thread.
public static SearchForUpdates ( IEnumerable applications, string downloadFolder ) : void
applications IEnumerable The collection of applications to check for updates.
downloadFolder string The directory where update might be downloaded to.
return void

SearchForUpdatesAsync() public static method

Searches for files without blocking the calling thread.
public static SearchForUpdatesAsync ( IEnumerable applications, string downloadFolder ) : void
applications IEnumerable The collection of applications to check for updates.
downloadFolder string The directory where update might be downloaded to.
return void

SetUpdatesFound() public static method

Manually sets an Sui collection has updates found.
public static SetUpdatesFound ( IEnumerable updates ) : void
updates IEnumerable The updates to set as found.
return void