Jump to content


Reading A Config File C#

  • Please log in to reply
No replies to this topic

#1 C#2010VS


    New Member

  • Members
  • Pip
  • 2 posts

Posted 29 July 2010 - 06:50 AM


I am in need of some help on reading a config file and exposing their properties so that it can be used in other classes.

Please have a look at this config file and give me some ideas on how to go about getting this done.

<?xml version="1.0" encoding="utf-8" ?>

<ProviderInternalName> ADFSV2ap </ProviderInternalName>
<ProviderDisplayName> Arial Party </ProviderDisplayName>

<ClaimType Name = "User" Schema="http://schemas.ap.co...om/claims/apID" ValueType="String" EntityType="User" Validation="ProfileDb" HierarchyDisplayName="Users" HierarchyInternalName="ADFSV2ap_Users" />

<ClaimType Name = "Group" Schema = "http://schemas.micro...ty/claims/role" ValueType="String" EntityType="User" Validation="ProfileDb" HierarchyDisplayName="Groups" HierarchyInternalName="ADFSV2ap_Groups" />




<DisplayProperty> LastName </DisplayProperty>
<DisplayProperty> FirstName </DisplayProperty>
<DisplayProperty> Office </DisplayProperty>
<DisplayProperty> Title </DisplayProperty>
<DisplayProperty> Department </DisplayProperty>
<DisplayProperty> Email </DisplayProperty>
<DisplayProperty> apIN </DisplayProperty>





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users