C-DEngine 5.105

ICommonDisco Methods

The ICommonDisco type exposes the following members.

Methods


  Name Description
Public method CheckForDeviceMatch
Fires a callback if the device is in the DeviceRegistry
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAllUPnPDeviceInfo()()()()
Gets a list of all UPnP devices currently recognized by the UPnP subsystem.
Public method GetAllUPnPDeviceInfo(Func<(Of <<'(TheUPnPDeviceInfo, Boolean>)>>))
Allows to retrieve a list of UPnP devices
Public method GetDeviceInfo
Gets a byte[] of the UPnP device info of the current device.
Public method GetHashCode (Inherited from Object.)
Public method GetTheUPnPDeviceInfo
returns TheUPnPDeviceInfo of the current node
Public method GetType (Inherited from Object.)
Public method GetUPnPDeviceInfo
Returns TheUPnPDeviceInfo for a given USN/UUID
Public method GetUPnPDeviceInfoByFunc
Returns devices found by a function query
Protected method MemberwiseClone (Inherited from Object.)
Public method RegisterDevice(TheUPnPDeviceInfo)
Allows to register a new TheUPnPDeviceInfo with the UPnP 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.
Public method RegisterDevice(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.
Public method RegisterDeviceLost
Register a callback for an event that fires when a device is no longer reachable
Public method RegisterDeviceWithServer
Registers the current device with a C-DEngine UPnP subsystem at the given Uri
Public method RegisterDISCOService
Registers a new discovery service
Public method RegisterNewMatch
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)
Public method RegisterScanner
Registers a new sniffer
Public method RegisterUPnPUID
This method allows to register for any arbitrary UPnP device.
Public method Scan4Devices
Triggers a scan for UPnP devices on the network. (Sends M-SEARCH Broadcast). The C-DEngine UPnP subsystem is doing this on a regular interval but if immediate results are required, the subsystem can be forced to trigger the scan.
Public method ScanForDevice
Tiggers a scan for a specific Device UID (i.e. USN for UPnP or Domain on mDNS) Results will be fired to the callbacks registered with RegisterUPnPUID
Public method ScanKnownDevices
Scans already registered devices for a given pUid
Public method ShutdownDiscoService
Call to shutdown the UPnP Discovery service.
Public method StartDiscoDevice
Call to Start the UPnP Discovery service
Public method ToString (Inherited from Object.)
Public method UnregisterDeviceLost
Unregisters the callback for lost/unreachable devices
Public method UnregisterDISCOService
Unregisters a discovery service
Public method UnRegisterNewMatch
Unregisters a previously registered callback
Public method UnregisterScanner
Unregisters a sniffer
Public method UnregisterUPnPUID
Unregisters a previously registered search pattern
Public method UpdateContextID
Updates the Security Context of the UPnP Device Description required to match Nodes in a mesh
Public method UpdateDiscoDevice
Updates the UPnPDevice Information of the current node
Public method WaitForDiscoReady
Registers for the event of "Disco Service Ready"