Finds a TCP port that is not in use on the system.
This method can potentially return the port set aside for a Cassini application that is not running. Use FindFreeTcpPort() method to get a port that will not only be unbound, but also not used by any of the Cassini applications.
Metabase Class | CassiniConfiguration Namespace