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
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers

Reply via email to