For an application, we use UPnP to discover and register devices/service(we have server and client part).
For the discovery, we used the http://managedupnp.codeplex.com/ which worked very well.
To register, we did found some library, but they were VERY buggy(intel open source library), and we now want to use the COM component and make a small c# abstraction on it.
I found some documentation: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381805(v=vs.85).aspx but I've got a problem.
This library contains only interfaces, and I can't see how I can get an instance of it. And I can't find any example/documentation.
So, does anybody knows how to register a device/service with this COM component?
Thank you!
EDIT:
I tried to generate a C# dll:
midl /target NT51 /tlb "C:\upnphost.tlb" "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\upnphost.idl"
tlbimp upnphost.tlb
But after importing this generated dll, I only got the same interface than before :/. Am I on the right way, how should I do that?