C-DEngine 5.105

ICommonDisco..::..RegisterNewMatch Method

This method registers a callback for the event that the UPnP subsystem found another node that is compatible with the current node. In order for nodes to be compatible they have to be a) in the same Solution (same ApplicationID) b) use the same ScopeID c) have the same Application Name (TheBaseAssets.MyServiceHostInfo.ApplicationName)

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

Syntax


void RegisterNewMatch(
	Action<Guid, string, List<string>> pMatch
)
Sub RegisterNewMatch ( _
	pMatch As Action(Of Guid, String, List(Of String)) _
)
void RegisterNewMatch(
	Action<Guid^, String^, List<String^>^>^ pMatch
)

Parameters

pMatch
Type: Action<(Of <(<'Guid, String, List<(Of <(<'String>)>)>>)>)>
A callback that will receive the NodeID in the Guid, the URL in the string and a list of supported plugins/services in the List