wasStitchNET
/Constants.cs |
@@ -9,11 +9,10 @@ |
|
namespace wasStitchNET |
{ |
public static class STITCH_CONSTANTS |
public struct STITCH_CONSTANTS |
{ |
public const string SERVER_IP_PATH = @"ip"; |
public const string UPDATE_PATH = @"update"; |
public const string LATEST_RELEASE_PATH = @"latest"; |
public const string PROGRESSIVE_PATH = @"progressive"; |
public const string UPDATE_DATA_PATH = @"data"; |
public const string UPDATE_OPTIONS_FILE = @"options.xml"; |
@@ -24,20 +23,8 @@ |
public static readonly ProductInfoHeaderValue USER_AGENT = |
new ProductInfoHeaderValue(Assembly.GetEntryAssembly().GetName().Name, STITCH_VERSION); |
|
public const string GEOIP_PATH = @"GeoIP-Databases"; |
public const string GEOIP_CITY_DATABASE = @"GeoLite2-City.mmdb.gz"; |
public const string GEOIP_UNKNOWN_COUNTRY = @"a galaxy far, far away..."; |
|
public const string OFFICIAL_UPDATE_SERVER = @"https://corrade.grimore.org"; |
|
public const string SERVICE_NAME = @"Stitch"; |
public const string SERVICE_DESCRIPTION = @"The Stitch Software Update Service."; |
public const string DATE_TIME_STAMP = @"dd-MM-yyyy HH:mm:ss"; |
public const string LOG_FILE_PATH = @"logs/Stitch.log"; |
|
public const string WORKING_CONFIGURATION_FILE = @"Configuration.xml"; |
public const string DEFAULT_CONFIGURATION_FILE = @"Configuration.xml.default"; |
public const string BACKUP_CONFIGURATION_FILE = @"Configuration.xml.bak"; |
|
public const int LOCAL_FILE_ACCESS_TIMEOUT = 60000; |
} |
} |
} |