<commit_before>unit ProxyUtils;

interface

  function ProxyActive: Boolean;
  function GetProxyServer: string;
  function GetProxyOverride: string;

implementation

uses
  System.SysUtils,
  System.Win.Registry,
  Winapi.Windows;

const
  INTERNET_SETTINGS = 'Software\Microsoft\Windows\CurrentVersion\Internet Settings';
  PROXY_ENABLED = 'ProxyEnable';
  PROXY_SERVER = 'ProxyServer';<commit_msg>Remove namespaces unknown to Delphi 2010 and below.<commit_after>unit ProxyUtils;

interface

  function ProxyActive: Boolean;
  function GetProxyServer: string;
  function GetProxyOverride: string;

implementation

uses
  SysUtils,
  Registry,
  Windows;

const
  INTERNET_SETTINGS = 'Software\Microsoft\Windows\CurrentVersion\Internet Settings';
  PROXY_ENABLED = 'ProxyEnable';
  PROXY_SERVER = 'ProxyServer';
{'fraction_non_alphanumeric': 0.07768187422934648, 'fraction_numerical': 0.004932182490752158, 'mean_word_length': 5.710743801652892, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7086206', 'n_tokens_mistral': 251, 'n_tokens_neox': 244, 'n_words': 56}