Wednesday, December 29, 2010

Store Data in Special Folder in system


LogFile = LogFile +

{

}
string LogFile = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);"\\Log.txt";if(!File.Exists(LogFile))File.WriteAllText(LogFile, "Hi There");else{

}
string Data=File.ReadAllText(LogFile);

No comments:

Post a Comment