<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Krio Media &#187; Security</title>
	<atom:link href="http://www.krio.me/category/security-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.krio.me</link>
	<description></description>
	<lastBuildDate>Wed, 01 Jun 2011 16:24:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>How to use Tor to make a C# HttpWebRequest</title>
		<link>http://www.krio.me/use-tor-to-make-a-c-sharp-httpwebrequest/</link>
		<comments>http://www.krio.me/use-tor-to-make-a-c-sharp-httpwebrequest/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 06:19:18 +0000</pubDate>
		<dc:creator>Kevin Rio</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.krio.me/?p=1226</guid>
		<description><![CDATA[Want to use Tor so that you can make annoymous and secure web requests while coding in C#? Use this easy technique. Typically when making an HttpWebRequest with C# you would write something to this effect: HttpWebRequest request = (HttpWebRequest)WebRequest.Create(&#34;http://URL.org&#34;); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); This will work fine, however your connection will not be anonymous. Using [...]]]></description>
			<content:encoded><![CDATA[<p>Want to use Tor so that you can make annoymous and secure web requests while coding in C#? Use this easy technique.</p>
<p><span id="more-1226"></span>
<p>Typically when making an HttpWebRequest with C# you would write something to this effect:</p>
<pre class="brush: plain; title: ;">
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(&quot;http://URL.org&quot;);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
</pre>
<p>This will work fine, however your connection will not be anonymous. Using Tor, you can effectively create an anonymous connection. First, make sure to install Tor and run it. The typical Tor Windows install will install Privoxy along with Vidalia. To make your C# web request run through Tor, you need to override the default proxy property to contact Prioxy.</p>
<pre class="brush: plain; title: ;">
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(&quot;http://URL.org&quot;);
request.Proxy = new WebProxy(&quot;127.0.0.1:8118&quot;); // default privoxy port for tor
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
</pre>
<p>127.0.0.1:8118 is the default address for Privoxy. Your HttpWebRequest will now be routed through Tor. Make sure that you do not have any firewalls blocking this default port.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krio.me/use-tor-to-make-a-c-sharp-httpwebrequest/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

