stevep01
asked on
how to assign a password as system.security.secureString VB.NET 2.0
I want to open a file using a password with process start. The password is "pass+word". How can I convert the password to type system.security.secure string?
Dim sFile = "\\server\servdir\somefile.pdf"
Dim sUser As String = "user"
Dim sPass As String = "pass+word"
Dim SDomain As String = "XYZ"
'newPass = New System.Security.SecureString() ???????
Process.Start(sFile, sUser, newPass, SDomain)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.