wasStitchNET – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 ///////////////////////////////////////////////////////////////////////////
2 // Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 //
3 // Please see: http://www.gnu.org/licenses/gpl.html for legal details, //
4 // rights of fair usage, the disclaimer and warranty conditions. //
5 ///////////////////////////////////////////////////////////////////////////
6  
7 using System.Net.Http.Headers;
8 using System.Reflection;
9  
10 namespace wasStitchNET
11 {
12 public struct STITCH_CONSTANTS
13 {
14 public const string SERVER_IP_PATH = @"ip";
15 public const string UPDATE_PATH = @"update";
16 public const string PROGRESSIVE_PATH = @"progressive";
17 public const string UPDATE_DATA_PATH = @"data";
18 public const string UPDATE_OPTIONS_FILE = @"options.xml";
19 public const string UPDATE_CHECKSUM_FILE = @"checksum.txt";
20 public const string UPDATE_MIRRORS_FILE = @"mirrors.txt";
21 public static readonly string STITCH_VERSION = Assembly.GetEntryAssembly().GetName().Version.ToString();
22  
23 public static readonly ProductInfoHeaderValue USER_AGENT =
24 new ProductInfoHeaderValue(Assembly.GetEntryAssembly().GetName().Name, STITCH_VERSION);
25  
26 public const string GEOIP_PATH = @"GeoIP-Databases";
27 public const string GEOIP_CITY_DATABASE = @"GeoLite2-City.mmdb.gz";
28 public const string GEOIP_UNKNOWN_COUNTRY = @"a galaxy far, far away...";
29 }
30 }