470,631 Members | 1,621 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,631 developers. It's quick & easy.

store user data

hi
I am new to C# programming. can anyone tell me what is the standard way to
store high sensitive user data for application, so that application next run
can get back those data.
Nov 15 '05 #1
1 2468
I have found that the best way to store user data for a
Windows Forms application is in the UserAppDataPath
location.

Here's some information about it from the MSDN
Documentation:

Application.UserAppDataPath Property
Gets the path for the application data of a user.

[C#]
public static string UserAppDataPath {get;}

Property Value
The path for the application data of a user.

Remarks
If a path does not exist, one is created in the following
format:

Base Path\ CompanyName\ ProductName\ ProductVersion

Data stored in this path is part of user profile that is
enabled for roaming. A roaming user works on more than
one computer in a network. The user profile for a roaming
user is kept on a server on the network and is loaded
onto a system when the user logs on. For a user profile
to be considered for roaming, the operating system must
support roaming profiles and it must be enabled.

A typical Base Path, as identified in the path above, is
C:\Documents and Settings\ username\Application Data.

Good Luck,

Doug

-----Original Message-----
hi
I am new to C# programming. can anyone tell me what is the standard way tostore high sensitive user data for application, so that application next runcan get back those data.
.

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Lars Behrens | last post: by
5 posts views Thread by Guadala Harry | last post: by
3 posts views Thread by noridotjabi | last post: by
2 posts views Thread by Alex | last post: by
reply views Thread by Brian Vanderburg II | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.