tags:

views:

44

answers:

1

We are having a windows aplication(WPF .net 3.5) that client will be installing using ClickOne full trust.

At first startup user enters credential which are being used to communicate with server.

I need to persist those credential some where in windows app so it would be used by application to function.

Where and how could i save it?

I am new to window application world so please ignore my dummyness.

+5  A: 

in Windows Registry as encrypted values, or in Application Data as encrypted files.

Pentium10
+1 for the right answer, although I really hate applications that make use of the Registry and/or the Application Data folder as it makes them so much less portable!
Langdon
What(Function) can give me that path for application data folder? I assume by default application has full access to that folder, right?
mamu
you can use the `%APPDATA%` OS constant in your filepath string
Pentium10
Thanks, Looks like i can use IsolatedStorageFile which is intended for this purpose and gives lot of flexibility.
mamu