Answered by:
how can we access remote desktop using c# coding

Question
-
hai i am a new .net developer. i have to connect a remote desktop using c# coding. can any one help me.Wednesday, November 29, 2006 10:05 AM
Answers
-
Are you talking about using Windows Remote Desktop? or creating your own? I dont think you can programatically access the Remote Desktop of Windows...
Best Regards,
Rizwan
Wednesday, November 29, 2006 5:25 PM -
thanq very much .i did with the process to connect remote systemTuesday, December 5, 2006 6:44 AM
-
hai .
i simply call the exe of remote desktop connection provided by the operationg system .
here is the code
Process rdcProcess = new Process();
string executable =Environment.ExpandEnvironmentVariables(@"%SystemRoot%\system32\mstsc.exe");
if (executable != null)
{
rdcProcess.StartInfo.FileName = executable;
rdcProcess.StartInfo.Arguments = "/v " + computerName; // ip or name of computer to connect
rdcProcess.Start();
}
it should work.....
Saturday, December 23, 2006 10:53 AM
All replies
-
Are you talking about using Windows Remote Desktop? or creating your own? I dont think you can programatically access the Remote Desktop of Windows...
Best Regards,
Rizwan
Wednesday, November 29, 2006 5:25 PM -
thanq very much sirMonday, December 4, 2006 1:01 PM
-
thanq very much .i did with the process to connect remote systemTuesday, December 5, 2006 6:44 AM
-
hi
i need to access remote desktop.it seems that u have achieved it.can u tell me how u did it?
Monday, December 11, 2006 11:56 AM -
hai .
i simply call the exe of remote desktop connection provided by the operationg system .
here is the code
Process rdcProcess = new Process();
string executable =Environment.ExpandEnvironmentVariables(@"%SystemRoot%\system32\mstsc.exe");
if (executable != null)
{
rdcProcess.StartInfo.FileName = executable;
rdcProcess.StartInfo.Arguments = "/v " + computerName; // ip or name of computer to connect
rdcProcess.Start();
}
it should work.....
Saturday, December 23, 2006 10:53 AM -
Hi
I used a similar code to connect to remote desktop programmatically, but I have a problem with Login in remote desktop, how could I pass user and password behind the escena ?
Thursday, February 1, 2007 9:29 PM -
visit.................www.codeproject.com
Saturday, September 22, 2007 8:23 AM -
Is it possible to supply username and password through the C# code to log automatically to the remote computer?
Code BlockProcess rdcProcess = new Process();
string executable = Environment.ExpandEnvironmentVariables(@"%SystemRoot%\system32\mstsc.exe");
if (executable != null)
{
rdcProcess.StartInfo.FileName = executable;
rdcProcess.StartInfo.Arguments = "/v " + "111.111.111.111"; // ip or name of computer to connect
rdcProcess.Start();
}
- Proposed as answer by Mike DePouw Thursday, November 6, 2008 1:19 AM
Monday, January 14, 2008 10:35 PM -
HI
Is it possible to add switch that connect directly to specific session on the remote computer, say sessionid or sessionname,
without getting the "Connect to existing Remote Desktop" window message.
This window message, jumps every time there is more then one disconnected session on the remote computer.- Proposed as answer by sachin.m.jagtap Friday, October 1, 2010 11:16 AM
Sunday, September 27, 2009 8:42 AM -
can it be done without using remote desktop. like writing your own
abc123Wednesday, January 6, 2010 6:29 PM -
Remote Desktop uses RDP protocol (type RDP Protocol Specification in google). So yes you can implement your own client and even server.Wednesday, January 6, 2010 8:28 PM
-
I've been able to save a password in an RDP file, and this should help you here. Take a look at this:
http://everydaynerd.com/microsoft/save-password-in-rdp-file
You should be able to incorporate this into your situation.
DanWednesday, January 13, 2010 6:37 PM -
hi!
i want to develop a remote pc desktop visualizer. just like as in team viewer. any help regarding to this.
Saturday, April 10, 2010 5:37 PM -
hi!
i want to develop a remote pc desktop visualizer. just like as in team viewer. any help regarding to this.
use code projcet rdp clientThursday, October 14, 2010 7:11 PM -
http://www.codeproject.com/KB/cs/RemoteDesktop_CSharpNET.aspxFriday, January 14, 2011 10:47 AM
-
I have some question about RDP:
A. RDP is now opening, yes or no ? If it is, it has some API function to refer?
B. RDP is always common protocol, must I redevelop a new protocol like RDP' function as my especial right?
Thursday, March 24, 2011 8:02 AM -
Dear sir,
Just add Remote desktop protocol ,File transfer redirection component in your WinCe image
then you will get one shortcut remote desktop control on your desktop
Best Regards, Mrudula ChoudhhariTuesday, December 20, 2011 9:43 AM -
this code is not working on visual studio 2010...plz suggest...thank uSaturday, September 15, 2012 7:40 PM