Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: How to Pass SecureSting value to ExecutableProcessPassword method

SecureString securePassword = new SecureString();
securePassword.AppendChar('s');
securePassword.AppendChar('u');
securePassword.AppendChar('8');
securePassword.AppendChar('a');
session.ExecutableProcessPassword = securePassword;
nikesh_digitek

How to Pass SecureSting value to ExecutableProcessPassword method

Hi,

I have write below code in my page.

session.ExecutableProcessUserName = "web";
session.ExecutableProcessPassword = "su8a"

but ExecutableProcessPassword method it can not accept string value because it's accept SecureSting value.

give me some sample code to pass securestring value in ExecutableProcessPassword method.

I will be thankful for you if you give asap reply.

Thanks
Nikesh