I am trying to build a c# winform application, Scenario is given below :
Problem:
I have 8 desktops connected to my local LAN. 5 out of 8 desktops are the fulfilled by resources. remain 3 desktops are the users which are used to remote that 5 desktops for accessing the resources.
Resource_desktop1 - 172.16.0.5 Resource_desktop2 - 172.16.0.6 Resource_desktop3 - 172.16.0.7 Resource_desktop4 - 172.16.0.8 Resource_desktop5 - 172.16.0.9 User_desktop1 - 172.16.0.10 User_desktop2 - 172.16.0.11 User_desktop3 - 172.16.0.12
Let if User_desktop1 is remoting the Resouces_desktop1 and Resources_desktop2 and User_desktop2 doesn't know about it and he is trying to access the Resouce_desktop1. User_desktop2 successfully remotes the Resource_desktop1 and the Resources_desktop is abnormally disconnected from the user_desktop1.
I want to solve out this problem by building a C# winform App in which the IP Address of the User-Dekstop who accessing remotly Resouces_desktops in the network is bieng displayed into the app.
Just as
Solution of above problem,
Resorces_desktop1 - accessing by 172.16.0.10(User_desktop1) Resorces_desktop2 - accessing by 172.16.0.10(User_desktop1) Resorces_desktop1 - Idle Resorces_desktop1 - Idle Resorces_desktop1 - Idle
Please help me out to give me some ideas that what logic I use for the same. I shall be very thankful to you.