Creates an XML encoding of the System.Security.Policy.ApplicationTrust object and its current state.
![]()
An XML encoding of the security object, including any state information.
The System.Security.ISecurityPolicyEncodable.ToXml(PolicyLevel) and System.Security.ISecurityPolicyEncodable.FromXml(System.Security.SecurityElement, PolicyLevel) methods are implemented to make System.Security.Policy.ApplicationTrust objects XML-encodable for security policy use.