public bool isPlainHostName(string hostName) {
GlobalLog.Print("WebProxyScriptHelper::isPlainHostName() hostName:" + ValidationHelper.ToString(hostName));
if (hostName==null) {
if(Logging.On)Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_called_with_null_parameter, "WebProxyScriptHelper.isPlainHostName()", "hostName"));
throw new ArgumentNullException("hostName");
}
return hostName.IndexOf('.') == -1;
}