Permalink
Browse files

use lowercase computer name

  • Loading branch information...
1 parent 6d21277 commit bdf90abcc6457830c649d12e11e27873710d10b3 @crdx committed Oct 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/PortableSettingsProvider.cs
@@ -32,11 +32,11 @@ private XmlNode _localSettingsNode
get
{
XmlNode settingsNode = GetSettingsNode(_localSettingsNodeName);
- XmlNode machineNode = settingsNode.SelectSingleNode(Environment.MachineName);
+ XmlNode machineNode = settingsNode.SelectSingleNode(Environment.MachineName.ToLowerInvariant());
if (machineNode == null)
{
- machineNode = _rootDocument.CreateElement(Environment.MachineName);
+ machineNode = _rootDocument.CreateElement(Environment.MachineName.ToLowerInvariant());
settingsNode.AppendChild(machineNode);
}

0 comments on commit bdf90ab

Please sign in to comment.