2

I have been looking for a way to implement UPnP. I have a need for it to run on Windows Compact Environment 7 (WEC7), but in order to test it easily, I want to set up a lab using regular Laptop computers and using the .net framework and coding in C#. I found NATUPNP.DLL which is a COM component from Microsoft that supports UPnP, but documentation on it is about 3 years old and I am guessing that there is something newer out there. I am hoping somebody knows the name of a class I can use (hopefully created and supported directly by Microsoft) that will work in C# with the .net framework that is not a COM component.

If you know of such a class, please let me know. Also, please let me know what support Microsoft offers for UPnP on the WEC7 operating system.

Thanks, Curtis

Curtis
  • 5,794
  • 8
  • 50
  • 77
  • 1
    Have you checked [this](http://msdn.microsoft.com/en-us/library/ee500769.aspx) ? – Yahia Dec 10 '12 at 19:52
  • I gave you a Plus on your comment for that one. It is for WEC7. I would like to first try an implementation under Windows 7 and Windows XP using C# with .net. I can't seem to find a simple UPnP implementation written by Microsoft for C# without using their COM .dll – Curtis Dec 10 '12 at 20:04
  • 1
    There's a few suggestions here: http://stackoverflow.com/q/333079/124386 – Richard Deeming Dec 10 '12 at 20:05
  • I was just looking at managedupnp.codeplex.com. It looks good but wasn't written by Microsoft. It's not directly part of the .net framework. Surely Microsoft has some sort of non COM support of UPnP in their .net framework... I just can't seem to find it... – Curtis Dec 10 '12 at 20:12
  • 1
    @Curtis There is NO direct support for UPnP in the .NET framework... basically you either implement it yourself (NOT recommended) or use some 3rd-party library (some free, some commercial out there)... – Yahia Dec 10 '12 at 20:16
  • 1
    @Curtis BTW: [this](http://managedupnp.codeplex.com/) uses the COM component under the hood... – Yahia Dec 10 '12 at 20:18
  • 1
    If you'd consider third party libraries, see [this previous question](http://stackoverflow.com/questions/1801134/upnp-library-for-net/7402910#7402910). The answers include at least two libraries that are deployed elsewhere and well supported. – simonc Dec 11 '12 at 09:10

0 Answers0