Click here to Skip to main content
15,879,348 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to develop an application in c#, which can ran on a Client system to access their desktop from my HOST machine (i.e. remote desktop tools like anydesk, teamviewer etc.

What I have tried:

I already check RealVNC & tightVNC but want to write my program in c#
Posted
Updated 23-Nov-20 0:51am
Comments
PIEBALDconsult 23-Nov-20 8:43am    
Is that what the user wants?

1 solution

See this CodeProject article: Windows Remote Desktop Application[^]
 
Share this answer
 
Comments
Jags27may 23-Nov-20 7:12am    
Thanks Rick,

I tried to use mentioned solution but it gives the below error message !
I setup the Remote server application at targeted machine & added TCP port 400 & password correctly !
Please help !

=============================
Error Message :

You're a Failure!
---------------------------
Invalid IPAddress, Invalid Port, Failed Internet Connection, or Cannot connect to client for some reason, check firewall in windows and router.

Technical Data:
**************************************************
System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xxx.xxx.xxx.xxx:4000

at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port)

at RemoteClient.FrmMain.RunConnect()

===================================


Thanks
Jags
Richard MacCutchan 23-Nov-20 7:23am    
It is trying to connect on port 4000 not 400.
RickZeeland 23-Nov-20 7:35am    
Probably port 4000 as Richard suggested, here is a nice tool to configure the Windows Firewall: https://www.slant.co/topics/1799/viewpoints/10/~best-firewall-tools-for-windows~windows-firewall-control-by-binisoft

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900