如何通过C#将数据集数据导出到xml以加密格式 [英] how to export dataset data to xml to encrypted format through c#
本文介绍了如何通过C#将数据集数据导出到xml以加密格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何通过C#将数据集数据导出为xml以加密格式的文件
感谢
Hi,
how to export dataset data to xml to encrypted format through c#
thanks
推荐答案
将数据集加密和解密为XML文件 [ ^ ]应该可以帮助您.
此 [
Encrypt and decrypt DataSets to XML files[^] should help you out.
This[^] might help as well.
你好,
您可以直接从数据集中写入xml文件.之后,您可以使用任何加密算法对xml文件进行加密.
Hi,
You can write directly xml file from dataset. after that you can encrypt your xml file using any of the encryption algorithm.
DataSet dset = new DataSet();
dset.WriteXml(xmlfilepath);
// encrypt xml file and send over network.
尽管它不是具有加密功能的完整代码,但可能会对您有所帮助.
谢谢
-Amit.
although its not full code with encryption but it may help you.
thanks
-Amit.
这篇关于如何通过C#将数据集数据导出到xml以加密格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文