Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public RDPViewer()
- {
- InitializeComponent();
- rdp.Server = "localhost";
- rdp.UserName = "<userName>";
- IMsTscNonScriptable secured = (IMsTscNonScriptable)rdp.GetOcx();
- secured.ClearTextPassword = "<password>";
- rdp.Connect();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement