How to get windows firewall status programmatically in vb.net

I am going to tell you how to get windows firewall status programmatically alongwith the example source code. To achieve this the netsh command is executed and its output is captured. For this the process ExecuteProcessSilentlyAndCaptureOutput is used To see the code for the ExecuteProcessSilentlyAndCaptureOutput first read the following article Execute Process Source Code Get Continue Reading …