C# Класс Bloom.UpdateVersionTable

This could maybe eventually go to https://github.com/hatton/NetSparkle. My hesitation is that it's kind of specific to our way of using TeamCity and our build scripts There are two levels of indirection here to give us maximum forward compatibility and control over what upgrades happen in what channels. First, we go use a url based on our channel ("http://bloomlibrary.org/channels/UpgradeTable{channel}.txt) to download a file. Then, in that file, we search for a row that matches our version number to decide which upgrades folder to use.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
URLOfTable string

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

Метод Описание
LookupURLOfUpdate ( ) : UpdateTableLookupResult

Note! This will propogate network exceptions, so client can catch them and warn or not warn the user.

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

Метод Описание
GetUrlOfTable ( ) : string
IsConnectionError ( WebException ex ) : bool
LogTableContents ( ) : void

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

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

Note! This will propogate network exceptions, so client can catch them and warn or not warn the user.
public LookupURLOfUpdate ( ) : UpdateTableLookupResult
Результат UpdateTableLookupResult

Описание свойств

URLOfTable публичное свойство

public string URLOfTable
Результат string