<?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>Luigi Melisi &#187; System.IO</title>
	<atom:link href="http://www.luigimelisi.com/tag/system-io/feed" rel="self" type="application/rss+xml" />
	<link>http://www.luigimelisi.com</link>
	<description>Development Blog : C# Code Samples,.NET Tips and Tricks</description>
	<lastBuildDate>Thu, 03 Mar 2011 09:01:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Come eliminare i file temporanei di Internet con Visual C#</title>
		<link>http://www.luigimelisi.com/tips-and-tricks/come-eliminare-i-file-temporanei-di-internet-con-visual-c.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=come-eliminare-i-file-temporanei-di-internet-con-visual-c</link>
		<comments>http://www.luigimelisi.com/tips-and-tricks/come-eliminare-i-file-temporanei-di-internet-con-visual-c.html#comments</comments>
		<pubDate>Fri, 18 Jun 2010 09:16:17 +0000</pubDate>
		<dc:creator>Luigi Melisi</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[.Net FrameWork]]></category>
		<category><![CDATA[Code Samples]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[System.IO]]></category>
		<category><![CDATA[Temporary Internet files]]></category>
		<category><![CDATA[Visual C#]]></category>

		<guid isPermaLink="false">http://www.luigimelisi.com/?p=1176</guid>
		<description><![CDATA[Ecco un semplice metodo per eliminare la cache di Microsoft Internet Explorer con Visual C#
]]></description>
			<content:encoded><![CDATA[<p>Ecco una semplice procedura per eliminare la cache di Microsoft Internet Explorer con Visual C#</p>
<pre class="brush: csharp; title: ; notranslate">
using System.IO;
...
void clearIECache()
{
     ClearFolder (new DirectoryInfo (Environment.GetFolderPath
      (Environment.SpecialFolder.InternetCache)));
}
void ClearFolder (DirectoryInfo folder)
{
   foreach (FileInfo file in folder.GetFiles())
      { file.Delete(); }
   foreach (DirectoryInfo subfolder in folder.GetDirectories())
      { ClearFolder(subfolder); }
}
public static void Main( )
{
   new Test().clearIECache ();
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.luigimelisi.com/tips-and-tricks/come-eliminare-i-file-temporanei-di-internet-con-visual-c.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scrivere un file con C#</title>
		<link>http://www.luigimelisi.com/tips-and-tricks/scrivere-un-file-con-c.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=scrivere-un-file-con-c</link>
		<comments>http://www.luigimelisi.com/tips-and-tricks/scrivere-un-file-con-c.html#comments</comments>
		<pubDate>Tue, 29 Sep 2009 17:17:18 +0000</pubDate>
		<dc:creator>Luigi Melisi</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[File]]></category>
		<category><![CDATA[StreamWriter]]></category>
		<category><![CDATA[System.IO]]></category>
		<category><![CDATA[Visual C#]]></category>

		<guid isPermaLink="false">http://www.luigimelisi.com/?p=200</guid>
		<description><![CDATA[using System.IO;
String myFile = @&#8221;c:\temp.txt&#8221;;
using (StreamWriter testo = new StreamWriter(myFile))
{
      testo.Write(“Testo da scrivere”);
}
]]></description>
			<content:encoded><![CDATA[<p><span style="color: #3366ff;">using</span> System.IO;</p>
<p><span style="color: #339966;">String</span> myFile = <span style="color: #993300;">@&#8221;c:\temp.txt&#8221;;</span><br />
<span style="color: #0000ff;">using</span> (<span style="color: #339966;">StreamWriter</span> testo = <span style="color: #0000ff;">new</span> <span style="color: #339966;">StreamWriter</span>(myFile))<br />
{<br />
      testo.Write(“Testo da scrivere”);<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luigimelisi.com/tips-and-tricks/scrivere-un-file-con-c.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

