SharpCifs.UniAddress.IsAllDigits C# (CSharp) Method

IsAllDigits() static private method

static private IsAllDigits ( string hostname ) : bool
hostname string
return bool
		internal static bool IsAllDigits(string hostname)
		{
			for (int i = 0; i < hostname.Length; i++)
			{
				if (char.IsDigit(hostname[i]) == false)
				{
					return false;
				}
			}
			return true;
		}