PeerCollaborationPermission.ToXml Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

public override SecurityElement ToXml()

Return Value

Type: System.Security.SecurityElement

An XML encoding of the permission, including any state information.

In general, permission class methods are used by the infrastructure and are not intended for use in applications.

.NET Framework
Available since 3.5
Return to top