如何使用此 RSS 获取汇率以便在我的应用中使用它?
http://www.rba.gov.au/statistics/frequency/exchange-rates.html
最佳答案
看看 System.ServiceModel.Syndication namespace .您可以像这样使用 SyndicationFeed.Load() 方法:
XmlReader reader = XmlReader.Create("http://www.rba.gov.au/rss/rss-cb-exchange-rates.xml");
SyndicationFeed feed = SyndicationFeed.Load(reader);
关于c# - RSS C# 获取汇率,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5712478/