wasStitchNET – Diff between revs 11 and 13

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 11 Rev 13
1 /////////////////////////////////////////////////////////////////////////// 1 ///////////////////////////////////////////////////////////////////////////
2 // Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 // 2 // Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 //
3 // Please see: http://www.gnu.org/licenses/gpl.html for legal details, // 3 // Please see: http://www.gnu.org/licenses/gpl.html for legal details, //
4 // rights of fair usage, the disclaimer and warranty conditions. // 4 // rights of fair usage, the disclaimer and warranty conditions. //
5 /////////////////////////////////////////////////////////////////////////// 5 ///////////////////////////////////////////////////////////////////////////
6   6  
7 using System.Net.Http.Headers; 7 using System.Net.Http.Headers;
8 using System.Reflection; 8 using System.Reflection;
9   9  
10 namespace wasStitchNET 10 namespace wasStitchNET
11 { 11 {
12 public struct STITCH_CONSTANTS 12 public struct STITCH_CONSTANTS
13 { 13 {
14 public const string SERVER_IP_PATH = @"ip"; 14 public const string SERVER_IP_PATH = @"ip";
15 public const string UPDATE_PATH = @"update"; 15 public const string UPDATE_PATH = @"update";
16 public const string PROGRESSIVE_PATH = @"progressive"; 16 public const string PROGRESSIVE_PATH = @"progressive";
17 public const string UPDATE_DATA_PATH = @"data"; 17 public const string UPDATE_DATA_PATH = @"data";
18 public const string UPDATE_OPTIONS_FILE = @"options.xml"; 18 public const string UPDATE_OPTIONS_FILE = @"options.xml";
19 public const string UPDATE_CHECKSUM_FILE = @"checksum.txt"; 19 public const string UPDATE_CHECKSUM_FILE = @"checksum.txt";
20 public const string UPDATE_MIRRORS_FILE = @"mirrors.txt"; 20 public const string UPDATE_MIRRORS_FILE = @"mirrors.txt";
21 public static readonly string STITCH_VERSION = Assembly.GetEntryAssembly().GetName().Version.ToString(); 21 public static readonly string STITCH_VERSION = Assembly.GetEntryAssembly().GetName().Version.ToString();
22   22  
23 public static readonly ProductInfoHeaderValue USER_AGENT = 23 public static readonly ProductInfoHeaderValue USER_AGENT =
24 new ProductInfoHeaderValue(Assembly.GetEntryAssembly().GetName().Name, STITCH_VERSION); 24 new ProductInfoHeaderValue(Assembly.GetEntryAssembly().GetName().Name, STITCH_VERSION);
25   -  
26 public const string GEOIP_PATH = @"GeoIP-Databases"; 25  
27 public const string GEOIP_CITY_DATABASE = @"GeoLite2-City.mmdb.gz"; 26 public const string GEOIP_CITY_DATABASE = @"GeoLite2-City.mmdb.gz";
28 public const string GEOIP_UNKNOWN_COUNTRY = @"a galaxy far, far away..."; 27 public const string GEOIP_UNKNOWN_COUNTRY = @"a galaxy far, far away...";
29   28  
30 public const string OFFICIAL_UPDATE_SERVER = @"http://corrade.grimore.org"; 29 public const string OFFICIAL_UPDATE_SERVER = @"http://corrade.grimore.org";
-   30  
-   31 public const string SERVICE_NAME = @"Stitch";
-   32 public const string SERVICE_DESCRIPTION = @"The Stitch Software Update Service.";
-   33 public const string DATE_TIME_STAMP = @"dd-MM-yyyy HH:mm:ss";
-   34 public const string LOG_FILE_PATH = @"logs/Stitch.log";
-   35  
-   36 public const int LOCAL_FILE_ACCESS_TIMEOUT = 60000;
31 } 37 }
32 } 38 }
33   39  
-   40
Generated by GNU Enscript 1.6.5.90.
-   41  
-   42  
-   43