alanmcgovern / Mono.Nat

UPNP and NAT-PMP port forwarding for .NET
https://github.com/mono/Mono.Nat
MIT License
163 stars 156 forks source link

[core] Issue SSDP requests for 'all' and for specific URNS #21

Closed alanmcgovern closed 4 years ago

alanmcgovern commented 4 years ago

Some routers respond to 'all' request and list their WANPPPConnection or WANIPConnection services, some do not.

For the ones which do not, querying for InternetGatewayDevice and accepting that as a valid possibility should be sufficient to allow Mono.Nat to fetch the service list and get confirmation that WANIP or WANPPP is supported.

Fixes https://github.com/alanmcgovern/Mono.Nat/issues/17