C-DEngine 5.105

ICommonDisco..::..RegisterUPnPUID Method

This method allows to register for any arbitrary UPnP device.

Namespace:  nsCDEngine.Discovery
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


void RegisterUPnPUID(
	string pUid,
	Action<TheUPnPDeviceInfo> CallBack
)
Sub RegisterUPnPUID ( _
	pUid As String, _
	CallBack As Action(Of TheUPnPDeviceInfo) _
)
void RegisterUPnPUID(
	String^ pUid, 
	Action<TheUPnPDeviceInfo^>^ CallBack
)

Parameters

pUid
Type: String
either a UUID of the device to look for or a search pattern with the syntax "UPnPTag;:;Instring Match of Tag Content"
CallBack
Type: Action<(Of <(<'TheUPnPDeviceInfo>)>)>
A callback with the full TheUPnPDeviceInfo of the discovered device