コード例 #1
0
        public UpdaterData(string fileName, UpdaterDataTypeFormat updaterDataType, Checksum checksum, bool mandatory, string downloadURL, Version version, string changelogURL, string commandlineArguments)
        {
            FileName             = fileName;
            UpdaterDataType      = updaterDataType;
            Version              = version;
            DownloadURL          = downloadURL;
            ChangelogURL         = changelogURL;
            Mandatory            = mandatory;
            Checksum             = checksum;
            CommandLineArguments = commandlineArguments;
            CreationTime         = DateTime.Now;
            PostUpdate           = new List <PostUpdateActionData>();
            MessageBoxes         = new List <MessageBoxData>();
            UpdateMode           = AutoUpdaterDotNET.Mode.Normal;

            LogNewInstanceInfo();
        }
コード例 #2
0
 public UpdaterData(string fileName, UpdaterDataTypeFormat updaterDataType)
     : this(fileName, updaterDataType, new Checksum(), true, Strings.Updater_Download_URL_ZIP_LATEST_RELEASE, Program.Version, Strings.Updater_Changelog_URL)
 {
 }
コード例 #3
0
 public UpdaterData(string fileName, UpdaterDataTypeFormat updaterDataType, Checksum checksum, bool mandatory)
     : this(fileName, updaterDataType, checksum, mandatory, Strings.Updater_Download_URL_ZIP_LATEST_RELEASE, Program.Version, Strings.Updater_Changelog_URL)
 {
 }
コード例 #4
0
 public UpdaterData(string fileName, UpdaterDataTypeFormat updaterDataType, Checksum checksum, bool mandatory, string downloadURL)
     : this(fileName, updaterDataType, checksum, mandatory, downloadURL, Program.Version, Strings.Updater_Changelog_URL)
 {
 }
コード例 #5
0
 public UpdaterData(string fileName, UpdaterDataTypeFormat updaterDataType, Checksum checksum, bool mandatory, string downloadURL, Version version, string changelogURL)
     : this(fileName, updaterDataType, checksum, mandatory, downloadURL, version, changelogURL, string.Empty)
 {
 }