Seting ProcessStartInfo.Password

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I set the string "myPass" for ProcessStartInfo.Password?

Dim instance As ProcessStartInfo
instance.Password "myPass" 'This is no good because its System.Security.String
instance.UserName = "myUser"
 
Hi Philip,

Thanks for your posting. Regarding on this issue, I've also noticed your
another similiar post in this group

Subject: Run process under diffrent user
Newsgroups: microsoft.public.dotnet.languages.vb

I've posted my reply there. I'd appreciate if you have a look there. Also,
if you feel it convenient that we continue to followup in that thread,
please feel free to post there.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
| Thread-Topic: Seting ProcessStartInfo.Password
| thread-index: AcX7+Pqe2r47utqbSqOioKwC3o7tUA==
| X-WBNR-Posting-Host: 213.236.81.130
| From: =?Utf-8?B?UGhpbGlwIFdhZ2VuYWFy?= <[email protected]>
| Subject: Seting ProcessStartInfo.Password
| Date: Thu, 8 Dec 2005 05:12:02 -0800
| Lines: 6
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.languages.vb
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.languages.vb:307741
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| How do I set the string "myPass" for ProcessStartInfo.Password?
|
| Dim instance As ProcessStartInfo
| instance.Password "myPass" 'This is no good because its
System.Security.String
| instance.UserName = "myUser"
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top