System.Security.Permissions.KeyContainerPermission.ToXml Method

Creates an XML encoding of the permission and its current state.

Syntax

public override System.Security.SecurityElement ToXml ()

Returns

A System.Security.SecurityElement that contains an XML encoding of the permission, including state information.

Remarks

Requirements

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