FtpClient.Encoding Property

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image
Gets the text encoding being used when talking with the server. The default value is Encoding.ASCII however upon connection, the client checks for UTF8 support and if it's there this property is switched over to Encoding.UTF8.

Namespace: System.Net.FtpClient
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461

Syntax

C#
public Encoding Encoding { get; private set; }
Visual Basic
Public Property Encoding As Encoding
	Get
	Private Set
Visual C++
public:
virtual property Encoding^ Encoding {
	Encoding^ get () sealed;
	private: void set (Encoding^ value) sealed;
}

Property Value

Type: Encoding

Implements

IFtpClient..::..Encoding

See Also