I want to run an RDP file, But before running I want to edit one of its parameters using C# code. I can do this manually by right-clicking RDP.rdp-> opening using a text document etc. Is it possible that this will be done automatically using C#?
Asked
Active
Viewed 145 times
0
-
1No, you will have to do some programming.... – Luuk Oct 14 '20 at 10:59
-
Open file in C#, modify it and save. Just treat it as regular txt file. – kosist Oct 14 '20 at 11:05
-
Or try Powershell. https://stackoverflow.com/questions/48813786/change-the-contents-of-a-rdp-file-with-powershell – Jay Buckman Oct 14 '20 at 17:40
-
@kosist Thanks, Can you send me a sample code of how to do this? I'm new to C # – Gal Oct 18 '20 at 06:51