سلام 😉 در این مطلب کد خواندن xml از url با myXmlURLreader در سی شارپ #C را آماده کردم. انشاالله که این کد براتون مفید باشه.
کد خواندن xml از url با myXmlURLreader در سی شارپ #C :
using System;
using System.IO;
using System.Xml;
class MainClass
{
static void Main(string[] args)
{
string localURL = "http:\\www.yoursite.com\\Test.xml";
XmlTextReader myXmlURLreader = null;
myXmlURLreader = new XmlTextReader (localURL);
using System.IO;
using System.Xml;
class MainClass
{
static void Main(string[] args)
{
string localURL = "http:\\www.yoursite.com\\Test.xml";
XmlTextReader myXmlURLreader = null;
myXmlURLreader = new XmlTextReader (localURL);