<PackageReference Include="NETStandard.Library" Version="2.0.1" />

System.Security.SecurityElement

public sealed class SecurityElement
namespace System.Security { public sealed class SecurityElement { public Hashtable Attributes { get; set; } public ArrayList Children { get; set; } public string Tag { get; set; } public string Text { get; set; } public SecurityElement(string tag); public SecurityElement(string tag, string text); public void AddAttribute(string name, string value); public void AddChild(SecurityElement child); public string Attribute(string name); public SecurityElement Copy(); public bool Equal(SecurityElement other); public static string Escape(string str); public static SecurityElement FromString(string xml); public static bool IsValidAttributeName(string name); public static bool IsValidAttributeValue(string value); public static bool IsValidTag(string tag); public static bool IsValidText(string text); public SecurityElement SearchForChildByTag(string tag); public string SearchForTextOfTag(string tag); } }