How to generate an RDP file

Robert Mazurowski picture Robert Mazurowski · Oct 7, 2016 · Viewed 10.5k times · Source

In my application I have a requirement for being able to import RDP files, store them in settings, and run them from within the app (basically RDP management functionality), but the second requirement is one that I do not know how to go about this, Basically I want to let the user create a new RDP, typing the Hostname and then that's it the rest would be done via the RDP program, but if user would like to save this, how to generate an Default RDP file for the Domain containing the server/PC/Laptop name?

Answer

Didier Aupest picture Didier Aupest · Oct 7, 2016

RDP Files are plain text only.

It should contains, at least :

full address:s:<hostname> or <IP Address>