Function UPNP.setDevice

Sets the device at index from the list of discovered devices to device.

void setDevice (
  const(long) index,
  UPNPDevice device
) nothrow @nogc;