This simple app establishes explicit messaging communication between client and server. In real world apllications, the controller (PLC) is called the client and the field devices are called servers.
Since I do not have two computers, to set up a remote server vmware workstation pro virtual machine was used. Inside vmware, I used free the PLC programming software Do-more PLC. Do-more PLC allows users to create PLC code, use the simulator and establish Ethernet-ip communicatoin for free.
The C# app acts as the client which gets explicit data from the remote server. In excplicit messaging, client request has all the information needed to respond explicitly to the message. In this app, the client requests two interger values of V40 and V41 from the server's memory block. The code was written using EEIP.NET library.