Re: Install fails
"Joe Shaw" <[email protected]>
| Newsgroups | gmane.comp.gnome.dashboard.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 12/3/07, D Bera <[email protected]> wrote: > How about I use System.Environment.MachineName instead of > Mono.Unix.UnixEnvironment.MachineName ? Seems to work with long names > too... (I tried with a 24-char name). Yeah, let's do that. S.E.MachineName just calls gethostname() in an internal call in the runtime. M.U.UE.MachineName calls the same thing, but does it using P/Invoke and apparently doesn't do it correctly. So even if it worked, the results would be exactly the same. Thanks, Joe