开发者

.NET Compact Framework config files

开发者 https://www.devze.com 2022-12-15 19:28 出处:网络
I\'m developing a Windows Mobile 5.0 or above WinForm application using .NET Compact Framework 2.0 SP2 and C#.

I'm developing a Windows Mobile 5.0 or above WinForm application using .NET Compact Framework 2.0 SP2 and C#.

I need to use a config file to store a Web Service's URL and other information encrypted.

I've read something about Mobile Configuration Application Block from Mobile Client Software Factory. Can I use this?

Is there any other kind of "fra开发者_StackOverflow社区mework" to work with encrypted configuration files on .Net Compact Framework?

Thank you!


What type of encryption are you looking to use? You could use the AES encryption algorithm RijndaelManaged for encrypting and decrypting files. (It is supported in the Compact Framework). Here is an example to get you going.

0

精彩评论

暂无评论...
验证码 换一张
取 消