title: How to block a website dynamically in C#?
body: <p>I would like to block certain URLs dynamically from Windows Service written in C#. I don't want to do this by writing to hosts file.</p>
  
  <p>For example I would like to block the url <code>http://example.com</code> (in all browsers), but also block <code>http://example.com/another</code> from 7 to 8 am. </p>
  
  <p>Is this possible, what should I do?</p>
  
  <p>Best regards,
  Andrew</p>