Get the CRC value of the specified file. This is a non-standard extension of the protocol
and may throw a FtpCommandException if the server does not support it.
Namespace: System.Net.FtpClient.Extensions
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461
Syntax
C# |
---|
public static string GetXCRC( this FtpClient client, string path ) |
Visual Basic |
---|
<ExtensionAttribute> Public Shared Function GetXCRC ( client As FtpClient, path As String ) As String |
Visual C++ |
---|
public: [ExtensionAttribute] static String^ GetXCRC( FtpClient^ client, String^ path ) |
Parameters
- client
- Type: System.Net.FtpClient..::..FtpClient
FtpClient object
- path
- Type: System..::..String
The path of the file you'd like the server to compute the CRC value for.
Return Value
Type: StringThe response from the server, typically the CRC value. FtpCommandException thrown on error