System.Net.Dns.GetHostName() is returning the dot character instead of the machine name. I need it to return the machine name so that it matches up with what is in sql server. Is there any way to control this?
msg.HostName = System.Net.Dns.GetHostName(); //Environment.MachineName; this was returning . for some reason
thanks
scott