Pergunta

I'm trying to make a port forwarding utility in WPF, I have already made one in WinForms (Looks horrible :D) and I know I used the Microsoft NatUPNP library that is installed by default. I was wondering

A) If NatUPNP library can be used in WPF; and

B) If not, is there a widely used alternative?

For the life of me I can't find the library in any of the toolbox options in WPF nor can I find it to import it using the same calls as my WinForms application:

Imports NATUPNPLib

Thanks!

Foi útil?

Solução

Like I said in my last comment, I did some research almost immediately :D

I found 2 links on SourceForge:

Andrea UPNP Suite (.Net) - http://sourceforge.net/projects/andrea-upnp/?source=navbar

Platinum UPNP (C++ may include other frameworks) - http://sourceforge.net/projects/platinum/?source=navbar

I have not tested these out yet (Going out), but I will test when I get home and update this answer with regards to how at least the Andrea Suite faired (I don't do C++)

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top