SecurityElement.FromString Method (String)
Creates a security element from an XML-encoded string.
Assembly: mscorlib (in mscorlib.dll)
Do not use single quotation marks in the XML string; instead, use escaped double quotation marks. For example, instead of "<value name='Company'>Microsoft</value>" use "<value name=\"Company\">Microsoft</value>".
Using single quotation marks can result in either an exception being thrown or, in some cases, the single quotation marks being treated as text in the string.
Available since 2.0