[Mono-osx] Dns.GetHostName() reports username instead of hostname

Chu rscott at computerlabsolutions.com
Mon Jun 6 13:50:30 EDT 2011

I've got a MacOSX box running Cisco Clean Access. When I login,
Dns.GetHostName() reports the USERNAME instead of the actual HostName. 

So I'm wondering, does anyone know what the Mono code actually uses to
determine the hostname? I'm wondering if there's a conflict and if this
Cisco product alters or changes something that Mono depends on to get the

Thoughts anyone?

View this message in context: http://mono.1490590.n4.nabble.com/Dns-GetHostName-reports-username-instead-of-hostname-tp3577567p3577567.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list