views:

311

answers:

1

Hello!

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 "framework" to work with encrypted configuration files on .Net Compact Framework?

Thank you!

A: 

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.

SwDevMan81