Search code examples
network-programmingmonovolumebatterybatterylevel

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


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.


Solution

  • 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.