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.
파일 보기 프로젝트 열기: BloomBooks/BloomDesktop 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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