NetworkInformationPermission.ToXml Method ()


Creates an XML encoding of the state of this permission.

Namespace:   System.Net.NetworkInformation
Assembly:  System (in System.dll)

public override SecurityElement ToXml()

Return Value

Type: System.Security.SecurityElement

A SecurityElement that contains the XML encoding of the current permission.

This method is used by the security system and is not normally called by application code.

.NET Framework
Available since 2.0
Return to top