How to get full host name in C#?
<p>I have tried by following by it just give me single name. I want full name.
Ex. my system full name is "<strong>sys101.home.homeconsultancy.lan</strong>". Following code gives me just "<strong>sys101</strong>". I want full address "<strong>sys101.home.homeconsultancy.lan</strong>".</p>

<p>Here is my code:</p>

<pre><code>string hostName = System.Net.Dns.GetHostName();
</code></pre>

<p>How can I get full system name?</p>