SharpCifs.UniAddress.GetHostName C# (CSharp) Method

GetHostName() public method

Return the hostname of this address such as "MYCOMPUTER".
Return the hostname of this address such as "MYCOMPUTER".
public GetHostName ( ) : string
return string
		public virtual string GetHostName()
		{
			if (Addr is NbtAddress)
			{
				return ((NbtAddress)Addr).GetHostName();
			}
		    return ((IPAddress) Addr).GetHostAddress();
		}