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

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

Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top