Hi,
I have a requirement where i need to send a command to a remote terminal server enabled machine using RDP APIs .
How do i do this from c#? I found ways of getting this done using the MSTSC activex control. i do not want to do this as there is no user interation required. so no need to add form. How do i do this using low level dlls? i just need to pass a command to open an application and print eg: notepad.exe /p filename on a remote system through RDP Apis. if available could you provide a code sample?
(i understood that this cannot be performed through mstsc.exe arguments on a remote system)
Thanks
Babith