static App() { UserDataPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\West Wind WebSurge\\"; if (!Directory.Exists(UserDataPath)) { Directory.CreateDirectory(UserDataPath); } LogFile = UserDataPath + "WebSurgeErrors.log"; VersionCheckUrl = "http://west-wind.com/files/WebSurge_Version.xml"; InstallerDownloadUrl = "http://west-wind.com/files/WebsurgeSetup.exe"; WebHomeUrl = "http://west-wind.com/websurge"; Configuration = new WebSurgeConfiguration(); //Configuration.Initialize(); try { Configuration.Initialize(); } catch (Exception ex) { // Log but continue on with default settings App.Log(ex); } // Encryption key is only valid on the current machine EncryptionMachineKey = "22653K0U*He73kj4$JJ" + Environment.MachineName; ProKey = "Kuhela_100"; // "3bd0f6e"; Plugins = PluginLoader.LoadPlugIns(); }
static App() { UserDataPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\West Wind WebSurge\\"; if (!Directory.Exists(UserDataPath)) Directory.CreateDirectory(UserDataPath); LogFile = UserDataPath + "WebSurgeErrors.log"; VersionCheckUrl = "http://west-wind.com/files/WebSurge_Version.xml"; InstallerDownloadUrl = "http://west-wind.com/files/WebsurgeSetup.exe"; WebHomeUrl = "http://west-wind.com/websurge"; Configuration = new WebSurgeConfiguration(); //Configuration.Initialize(); try { Configuration.Initialize(); } catch (Exception ex) { // Log but continue on with default settings App.Log(ex); } // Encryption key is only valid on the current machine EncryptionMachineKey = "22653K0U*He73kj4$JJ" + Environment.MachineName; ProKey = "Kuhela_100"; // "3bd0f6e"; Plugins = PluginLoader.LoadPlugIns(); }