how to unblock website using c#
i have block code
String path = @"C:\Windows\System32\drivers\etc\hosts";
StreamWriter sw = new StreamWriter(path, true);
String sitetoblock = "\n 127.0.0.1 " + textBox1.Text;
sw.Write(sitetoblock);
sw.Close();
lblStat.Text = textBox1.Text + " site Blocked";

Nikunj KachaPosted Jan 21, 2013, 12:15 PM
i don't understand this code
Ved PrakashPosted Jan 21, 2013, 8:22 AM