edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Converts the current connection into its XML representation.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
public virtual void WriteXml(
	XmlWriter writer
)
Visual Basic
Public Overridable Sub WriteXml ( _
	writer As XmlWriter _
)
Visual C++
public:
virtual void WriteXml(
	XmlWriter^ writer
)

Parameters

writer
Type: System.Xml..::..XmlWriter
The XmlWriter to which the connection is serialized.

Implements

IXmlSerializable..::..WriteXml(XmlWriter)

Remarks

The content is written in XML format with the root element being called ExFTPConnection and each property having an XML element of the same name.

Note that connections can be written directly to files and streams using the methods Save(String) and Save(Stream), respectively.

See Also