[Gtk-sharp-list] System.Windows.Forms.SystemInformation equivalent

Adam Tauno Williams awilliam at whitemice.org
Tue Sep 7 08:57:15 EDT 2010

On Tue, 2010-09-07 at 02:18 +0100, Natalia Portillo wrote:
> Hi,
> Maybe this is not the right place to search for it, but, that class
> gives a lot of system information that should can be needed/used
> without using Windows.Forms.
> Is there any equivalent in the rest of Mono classes?

What information do you need?  A lot of the information provided by
SystemInformation seems very Windows-specific and wouldn't mean anything
on a non-Windows system.

You can get current user and some other information from Environment.
Also Environment.MachineName will return the machine name.  And
System.Net provides the Dns class as well.

WindowsIdentity may work as well, like -

More information about the Gtk-sharp-list mailing list