C# Класс SevenUpdate.Search

Contains methods to search for updates.
Показать файл Открыть проект

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

Метод Описание
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.

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

Метод Описание
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.

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

SearchForUpdates() публичный статический Метод

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.
Результат void

SearchForUpdatesAsync() публичный статический Метод

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.
Результат void

SetUpdatesFound() публичный статический Метод

Manually sets an Sui collection has updates found.
public static SetUpdatesFound ( IEnumerable updates ) : void
updates IEnumerable The updates to set as found.
Результат void