You just reference System.Net namespace. For example: Save the following fragment as foo.cs:
----------- using System; using System.Net; class My { static void Main() { Console.WriteLine(Dns.GetHostName()); } } ----------- And compile it with csc foo.cs . This posting is provided "AS IS" with no warranties, and confers no rights. -----Original Message----- From: Ezequiel Alabaça [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 10:28 AM To: [EMAIL PROTECTED] Importance: High But how can I include this file in my program? sscli\fx\src\net\system\net\dns.cs http://dotnet.di.unipi.it/Content/sscli/docs/doxygen/fx/bcl/dns_8cs-sour ce.html This posting is provided "AS IS" with no warranties, and confers no rights. -----Original Message----- From: Ezequiel Alabaça [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 9:52 AM To: [EMAIL PROTECTED] Importance: High Hi! I can't find the Dns.GetHostName( ) method in rotor? Where is it ? Thank's in advance.