public static bool ValidateLogicalName(String ln) { if (ln == null) { return false; } string[] items = ln.Split('.'); return items.Length == 6; }