Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IP of device
12-10-2015, 09:50 AM
Post: #2
RE: IP of device
(12-10-2015 09:38 AM)SiMet Wrote:  Hello,

Is there any posibility to get IP of device or some other resource (for example DeviceDescription link)?

Using a CpDevice discovered by one of the UPnP device lists, calling GetAttribute for key "Upnp.DeviceXml" will return the device description. You can parse any details from it then.

If all you want is an IP address, you could read the "Upnp.Location" attribute. This returns a url so will be much easier to parse than the entire device description.
Find all posts by this user


Messages In This Thread
IP of device - SiMet - 12-10-2015, 09:38 AM
RE: IP of device - simonc - 12-10-2015 09:50 AM
RE: IP of device - SiMet - 12-10-2015, 09:56 AM

Forum Jump: