edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

ExFTPConnectionWriteXml Method

Converts the current connection into its XML representation.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual void WriteXml(
	XmlWriter writer
)

Parameters

writer  XmlWriter
The XmlWriter to which the connection is serialized.

Implements

IXmlSerializableWriteXml(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