System.Net.Policy.FlashCrossDomainPolicy.GetSiteControl C# (CSharp) Method

GetSiteControl() static private method

static private GetSiteControl ( XmlReader reader ) : string
reader XmlReader
return string
		static string GetSiteControl (XmlReader reader)
		{
			int n = reader.AttributeCount;
			string site = reader.GetAttribute ("permitted-cross-domain-policies");
			if (site != null)
				n--;
			if (n != 0)
				throw new XmlException ("unknown/unsupported attributes");
			return site;
		}