Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am using the following statements:

 

[c]

Dim ps As New ProcessStartInfo("C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqldump.exe", "-u root -pchecli02 myacct")

ps.UseShellExecute = False

ps.RedirectStandardOutput = True

Dim p As Process

p = New Process

p.StartInfo = ps

p.Start()

Dim sw As New System.IO.StreamWriter("C:\test23.sql")

sw.Write(p.StandardOutput.ReadToEnd())

p.WaitForExit()

[/c]

 

Is there anyway to encrypt this streamwriter to a file instead of writing to the file and then encrypting the file and writing it back down?

 

Thanks, Chester

____________________________________________

http://www.pophamcafe.com

I am starting a developers section, more tutorials than anything.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...