WhiteMidnight
Programmer
I am writing a .Net application to automate running of some defined linux commands.
I saved a pre-configured r2w file, so when program opens that, it connect host and UserName but immediately asks for password, with a pop up window in a prompt. I couldn't use the Reflection API to send commands to that prompt window.
I tried to use sendkeys, somehow it's not accepting.
If I manually enter it and click OK, then the rest of the program works wonderful.It's just 1 place I am stuck, and fail short. Because they don't want to give the password to users.
Help or any info will be appreciated.
Note: Because I can modify that ConnectionSettings reading in the .NET code, can I manually add the password into the Session.ConnectionSettings? If so, do you think it would be possible to disconnect and try to connect without the pop-up. What is the password field name called exactly in that syntax? (i.e. host, username words are used to define their)
I saved a pre-configured r2w file, so when program opens that, it connect host and UserName but immediately asks for password, with a pop up window in a prompt. I couldn't use the Reflection API to send commands to that prompt window.
I tried to use sendkeys, somehow it's not accepting.
If I manually enter it and click OK, then the rest of the program works wonderful.It's just 1 place I am stuck, and fail short. Because they don't want to give the password to users.
Help or any info will be appreciated.
Note: Because I can modify that ConnectionSettings reading in the .NET code, can I manually add the password into the Session.ConnectionSettings? If so, do you think it would be possible to disconnect and try to connect without the pop-up. What is the password field name called exactly in that syntax? (i.e. host, username words are used to define their)