Debajyoti Bera writes: >> > 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. > > Done. r4252.
Works! Thanks -- prompt and helpful responses, you guys rock! ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh Half-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: [EMAIL PROTECTED] URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam] _______________________________________________ Dashboard-hackers mailing list Dashboard-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/dashboard-hackers