System.Security.Permissions.DataProtectionPermission.ToXml Method

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

Syntax

public override System.Security.SecurityElement ToXml ()

Returns

An XML encoding of the permission, including state information.

Remarks

Requirements

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