You could do it with netsh.exe. The first output shows the status while
the network card is enabled, the second when it is disabled.
netsh interface show interface
Admin State State Type Interface Name
-------------------------------------------------------------------------
Enabled Connected Loopback Loopback
Enabled Connected Internal Internal
Enabled Connected Dedicated Local Area Connection