If you are building a Networking Application like i do. you will encounter how to add this things automatically, like adding application to firewall exception, and open the port on firewall, get the firewall open port, etc. First you need to add a reference...