1
votes

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!

1
why would you need to encrypt a Web Service's URL? - Mitch Wheat
why not? It's only an example. - VansFannel
I only ask because it sounded like security by obscurity - Mitch Wheat
Well, I don't want users can change configuration's values. - VansFannel
I thought users on mobile devices can't see the config on winmo anyway? .exe.config isn't a type that has an app assigned to it. - Quibblesome

1 Answers

0
votes

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.