private void LoadIgnoreStrings() { string path = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location); System.Diagnostics.Debug.Print(path); FileSystemRights rights = CUtil.GetCurrentUsersFileSystemRights(path); System.Diagnostics.Debug.Print("-> {0}", rights); m_SettingsPathReadOnly = !CUtil.Contains(rights, FileSystemRights.Write); m_SettingsFile = System.IO.Path.Combine(path, "Settings.xml"); m_SettingsFileReadOnly = CUtil.IsFileReadOnly(m_SettingsFile) || m_SettingsPathReadOnly; if (System.IO.File.Exists(m_SettingsFile)) { string xml = System.IO.File.ReadAllText(m_SettingsFile, Encoding.UTF8); m_Settings = Settings.DeSerialize(xml); } else { m_Settings = new Settings(); //defaults } #if !IGNORE_METHOD_ARGUMENTS if (m_Settings != null) { m_Settings.IgnoreMethodsArguments.Add("@@@disabled@@@"); } #endif }