I need to get the host name of the local PC/Workstation, so I can use the:
Dns.GetHostName() or Environment.MachineName

What is the difference between the two? when I read the documentation I couldn't decide which one to use.
I must say the the PC may not be connected to the Internet/Intranet.

Which one should I use?
Is there any other way to get the local host name which is better then the above two?