I want to call the netsh
command from .net, I am using the Process
class to initiate the process which calls the netsh
command, and its working fine, now I want to get the output returned by the netsh
command in .NET, for example I am calling the below command in Process
:
netsh wlan show hostednetwork
this is returning me the list of active hostednetwork.
How can I read the list in .NET?
Can anyone assist me or take me to the right path (I don't want to use any third party tools)?
UPDATES Below is my return output using netsh wlan show hostednetwork command
Hosted network settings
Mode : Allowed
SSID name : "AqaMaula(TUS)"
Max number of clients : 100
Authentication : WPA2-Personal
Cipher : CCMP
Hosted network status
Status : Started
BSSID : 06:65:9d:26:f4:b7
Radio type : 802.11n
Channel : 11
Number of clients : 1
d0:c1:b1:44:8b:f0 Authenticated
Can anyone tell me how can i get all individual data and put them in database like, Mode, SSID Name, etc. (individually)?