Gets the SHA-512 hash of the specified file using XSHA512. This is a non-standard extension
to the protocol and may or may not work. A FtpCommandException will be
thrown if the command fails.
Namespace: System.Net.FtpClient.Extensions
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461
Syntax
C# |
---|
public static string GetXSHA512( this FtpClient client, string path ) |
Visual Basic |
---|
<ExtensionAttribute> Public Shared Function GetXSHA512 ( client As FtpClient, path As String ) As String |
Visual C++ |
---|
public: [ExtensionAttribute] static String^ GetXSHA512( FtpClient^ client, String^ path ) |
Parameters
- client
- Type: System.Net.FtpClient..::..FtpClient
FtpClient Object
- path
- Type: System..::..String
Full or relative path to remote file
Return Value
Type: StringServer response, presumably the SHA-512 hash.