FtpClient.HasFeature Method

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image
Performs a bitwise and to check if the specified flag is set on the Capabilities enum property.

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

Syntax

C#
public bool HasFeature(
	FtpCapability cap
)
Visual Basic
Public Function HasFeature ( 
	cap As FtpCapability
) As Boolean
Visual C++
public:
bool HasFeature(
	FtpCapability cap
)

Parameters

cap
Type: System.Net.FtpClient..::..FtpCapability
The capability to check for

Return Value

Type: Boolean
True if the feature was found

See Also