|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Dataset Encryption to FileI 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 see
http://www.codeproject.com/csharp/cryptoxml.asp Show quoteHide quote "BobF" <B***@discussions.microsoft.com> wrote in message news:94491DCA-C30D-4254-AF10-E26D031B96FB@microsoft.com... >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
Commercial copy protection?
Need some help... Why I am sick of .Net destroying/releasing objects from memory? Retrieve Hard Disk Serial Number or othe unique PC identifier - XP & 2K Merging Java and VB for alert box This code demonstrates a problem using a treeview twice Looking for suggestions on how to do something How to get the registry key permission using RegistryRight in NET2.0? slow form backimage load @ vb.net |
|||||||||||||||||||||||