简体   繁体   中英

Remote desktop connection in C#

I want to connect to a remote PC through my own app. I planned to make one in Visual Studio 2012.

I've searched around on the internet, and couldn't find the solution to make an remote connection inside of a form.

I've read something about the "Microsoft Terminal Services Control Type" Liberary ( http://www.codeproject.com/Articles/43705/Remote-Desktop-using-C-NET ), but i couldn't get it working.

Any help would be appreciated!

You can use this guide : http://www.codeproject.com/Articles/43705/Remote-Desktop-using-C-NET

It's a pretty outdated technology and only works on WinForms AFAIK. I tried using this control in one of my projects but decided to ditch it as I couldn't get it to resize dynamically.

Gaucomole is another good option. but is a bit more complex: http://guac-dev.org/doc/gug/writing-you-own-guacamole-app.html

It runs in a browser and uses HTML5.

EDIT: Just noticed the article I linked is the one you were using. Why couldn't you get it working?

As an alternative for C#, you can also try Myrtille . It was first a commercial application that I made open source recently. Like Guacamole, it works from a web browser (HTML4 and HTML5) in pure javascript (no plugin).

But, as Jonathan said, if you want the remote connection into a winform, you'd better use the Microsoft Terminal Services COM control.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM