Version 4.12.1 Added User-Agent HTTP header

This commit is contained in:
ClemensF 2019-06-04 22:03:25 +02:00
parent ae09b0e55d
commit 644005c03e
5 changed files with 7 additions and 5 deletions

View file

@ -10,6 +10,7 @@ using System.Threading.Tasks;
using System.Globalization;
#if WINDOWS_UWP
using Windows.Data.Xml.Dom;
using Windows.Foundation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media;
#else
@ -242,7 +243,7 @@ namespace MapControl
private static IEnumerable<XmlElement> ChildElements(XmlElement element, string name)
{
return element.ChildNodes.OfType<XmlElement>().Where(e => e.LocalName == name);
return element.ChildNodes.OfType<XmlElement>().Where(e => (string)e.LocalName == name);
}
}
}