Re: Install fails



Hi,

On 12/3/07, D Bera <dbera web gmail com> 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]