title: Reading/Parsing ACS Identity Provider FederationMetadata.xml
body: <p>Is there any easy way, such as some WIF class or something which given a FederationMetadata.xml file from an identity provider, you can easily load this and parse it to access certain parts of information out of the file.</p>
  
  <p>I need to be able to parse it for things like the claims and signing token etc, so that given a supplied FederationMetadata.xml file I can set up an identity provider, rule group and rules  using the ACS Management Service.</p>
  
  <p>I could probably knock together an xmlreader to read through it, but just wondered if there was an easier way.</p>