Änderung

- Key existiert Abfrage geändert, dass sie auch ohne SubKey funktioniert
This commit is contained in:
Hoeglinger Eugen 2022-08-30 08:22:37 +02:00
parent 64871eb870
commit a379eba0a9
14 changed files with 8 additions and 1 deletions

Binary file not shown.

View File

@ -297,7 +297,14 @@ namespace Eugen.ESystem
/// <returns>'True' if the key exists, otherwise 'false'</returns>
public bool KeyExists()
{
return Directory.Exists(RoamingPath + "\\" + MainKey + "\\" + SubKey + "\\" + Key);
if (SubKeyExists())
{
return Directory.Exists(RoamingPath + "\\" + MainKey + "\\" + SubKey + "\\" + Key);
}
else
{
return Directory.Exists(RoamingPath + "\\" + MainKey + "\\" + Key);
}
}
/// <summary>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.