SmtpPermission::ToXml Method ()

 

Creates an XML encoding of the state of the permission.

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

public:
virtual SecurityElement^ ToXml() override

Return Value

Type: System.Security::SecurityElement^

A SecurityElement that contains an 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
Show: