Dataset Encryption to File

G

Guest

I am working with xml files for my program's database. I want to encrypt the
xml file. I want to use the Dataset.WriteXml(Stream,
XmlWriteMode.WriteSchema). How can I use a cryptostream with this to write an
encrypted file to disk? The Stream parameter for WriteXML is limited to an IO
stream which does not include cryptostream. I guess I'm having conceptual
difficulty understanding how to get the data into a stream and how crypto and
file streams can be used with that to acutally encrypt the file and write it
to disk. Thanks.

Bob Flenniken
 

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

Top