A service is disclosed that discovers information about the logical networks
to
which a computer is connected and provides that information to applications. The
information is keyed to names constructed by the service. There is a mapping between
the names and the logical networks. Applications may rely on the names when selecting
a configuration to use with a given logical network. The network name may be correlated
with other information, such as physical network interface(s) on the computer through
which the logical network is accessible, application programming interfaces of
the transport protocols supported by the logical network, and the connectivity
type of the logical network. Applications are notified when network information
provided to them changes or when new information becomes available.