public static string HostsFileURL() { INIFile iniReader = new INIFile(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\\Hosty.ini"); return iniReader.IniReadValue("Hosty", "Hosts-Remote-File-URL"); }
public static string[] CustomHosts() { INIFile iniReader = new INIFile(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\\Hosty.ini"); return (iniReader.IniReadValue("Hosty", "Custom-Host-Values").Split(',')); }