Is it possible to control System Volume, and Get network information, Battery information on VB.Net with Mono

StackOverflow https://stackoverflow.com/questions/16127746

Frage

I was wondering if it was possible to be able to control/get the system volume, get network information (i.e is it a wired or wireless connection, name of network, etc.) and get battery information with VB.Net using Mono on Ubuntu 12.10? Thanks.

War es hilfreich?

Lösung

You can use the System.Diagnostics.Process class to call out to the shell and invoke the commands / get the information you require. There is an example here.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top