New default config values
This commit is contained in:
@@ -79,9 +79,10 @@ namespace Password_Manager
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
string user = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
|
||||||
StreamWriter sw = new StreamWriter(CONFIGPATH);
|
StreamWriter sw = new StreamWriter(CONFIGPATH);
|
||||||
sw.WriteLine(RECIPIENT + DELIMETER + "typo");
|
sw.WriteLine(RECIPIENT + DELIMETER + user);
|
||||||
sw.WriteLine(PATH + DELIMETER + @"C:\Users\Typo\pass");
|
sw.WriteLine(PATH + DELIMETER + SpecialDirectories.CurrentUserApplicationData);
|
||||||
sw.Close();
|
sw.Close();
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|||||||
Reference in New Issue
Block a user