Example #1
0
        public DeviceCollector()
        {
            var finder   = new UPnPDeviceFinderClass();
            var searchId = finder.CreateAsyncFind("urn:ses-com:device:SatIPServer:1", 0, this);

            finder.StartAsyncFind(searchId);
        }
Example #2
0
        public static void DoDeviceSearch(string sTypeURI)
        {
            IUPnPDeviceFinderCallback oCallback          = new UPnPDeviceFinderCallback();
            UPnPDeviceFinderClass     oDeviceFinderClass = new UPnPDeviceFinderClass();

            oDeviceFinderClass.CreateAsyncFind(sTypeURI, 0, oCallback);
            oDeviceFinderClass.StartAsyncFind(0);
        }
 public DeviceCollector()
 {
     _finder = new UPnPDeviceFinderClass();
     _SearchId = _finder.CreateAsyncFind("upnp:rootdevice", 0, this);
     _finder.StartAsyncFind(_SearchId);
 }