GXDN: Gurux Developer Network
ReceiveDataEventHandler Delegate
NamespacesGurux.ClientReceiveDataEventHandler
Checks if the received data is from the correct device. If ReceiveData is set to False, received data is ignored.
Parameters
sender (GXClient)
The source of the event.
data (Object)
Received data.
senderInfo (String)
Sender info.
receiveData ( Boolean %)
If True, received data is handled.
Remarks
Use this method to identify the correct data.
Examples
CopyVBScript
'In this example we receive data from Network media.
'Received data is not accepted if it is not received from own computer.
sub GXClient1_ReceiveData(object Data, string SenderInfo, bool ReceiveData)
    if SenderInfo = "127.0.0.1:1234" then
        ReceiveData = True
    else
        ReceiveData = False
    end if
end sub

Assembly: Gurux.Client (Module: Gurux.Client) Version: 5.0.0.1