- Home /
error when load xml from url
Hi guys
I've this error when load my URL for read an xml file. Do you have any suggest?
Thank you very much!!!!
TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010f Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection certificates)`
using UnityEngine; using System.Collections; using System.Collections.Generic; //Needed for Lists using System.Xml; //Needed for XML functionality using System.Xml.Serialization; //Needed for XML Functionality using System.IO; using System.Net; using System.Xml.Linq; //Needed for XDocument public class Networking : MonoBehaviour {
private string filepath = "https://www.bbbwww.com/service/xml/testfile.xml";
public void Read()
{
XDocument doc = XDocument.Load(filepath);
`
Your answer
Follow this Question
Related Questions
Loaded Data dont show up in HoloLens 0 Answers
Saving/Loading Vertices Efficiently 2 Answers
How Load XML File in java? 2 Answers
Save and load arrays into an XML file 1 Answer
Problem loading XML files after build using .NET libraries 1 Answer