Creates an XML encoding of the state of the permission.
Syntax
Returns
A System.Security.SecurityElement that contains an XML encoding of the current permission.
Remarks
Requirements
Namespace: System.Net.Mail
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0