Returns the XML encoding of the current instance.
A System.Security.SecurityElement containing the XML encoding of the state of the current instance.
Note:For the XML schema for this class, see the System.Net.SocketPermission class page.
This method overrides System.Security.CodeAccessPermission.ToXml .
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0