ICommonDisco..::..RegisterDevice Method (TheUPnPDeviceInfo, Boolean)
Allows to register a new TheUPnPDeviceInfo with the DISCO subsystem. This is helpful if any other means of discovery was used to find devices and the new device should participate in the UpnP notification system.
Namespace:
nsCDEngine.DiscoveryAssembly: C-DEngine (in C-DEngine.dll)
Syntax
bool RegisterDevice( TheUPnPDeviceInfo pInfo, bool ForceUpdate )
Function RegisterDevice ( _ pInfo As TheUPnPDeviceInfo, _ ForceUpdate As Boolean _ ) As Boolean
bool^ RegisterDevice( TheUPnPDeviceInfo^ pInfo, bool^ ForceUpdate )
Parameters
- pInfo
- Type: nsCDEngine.ViewModels..::..TheUPnPDeviceInfo
The description of the new devics
- ForceUpdate
- Type: Boolean
If this is set to true, the UPnP Subsystem waits until any previous write attempts to the UPnP Database were completed and then updates the record. The default (False) will ignore the registration if the UPnP Database is busy to avoid congestions and lookups.