- if (ToLower(name) == "login") return login;
- if (ToLower(name) == "currip") return currIP.ToString();
- if (ToLower(name) == "enableddirs") return GetEnabledDirs();
- if (property.Exists(name))
- return property.GetPropertyValue(name);
+ if (lowerName == "login") return login;
+ if (lowerName == "currip") return currIP.ToString();
+ if (lowerName == "enableddirs") return GetEnabledDirs();
+ if (property.Exists(lowerName))
+ return property.GetPropertyValue(lowerName);