convert code snippet to C#
<p>VS 2008 </p>

<p>I have this code snippet I found on a VB website.</p>

<p>But for some reason I am having trouble converting it to C#.</p>

<pre><code>My.Computer.Network.IsAvailable
</code></pre>

<p>Many thanks,</p>
