Im trying to doing portable client generator as windows remote desktop connection.

When the create button is clicked, from the client whose information is entered, How can a connect type icon be created on the desktop that will enable the client to log in?

I would be very grateful if you could write a code sample. thanks for the answers in advance