System.Security.Policy.ApplicationTrust.ToXml Method

Creates an XML encoding of the System.Security.Policy.ApplicationTrust object and its current state.

Syntax

public System.Security.SecurityElement ToXml ()

Returns

An XML encoding of the security object, including any state information.

Remarks

Requirements

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0