EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElAS3Client.GetLocalChecksum

TElAS3Client     See also    


 

Returns control sum of the file part.

 
 

Declaration

[C#]
    string GetLocalChecksum(string AFileName, TSBFTPCheckMethod CheckMethod, long StartPoint /* = -1 */, long EndPoint /* = -1 */);

[VB.NET]
    Function GetLocalChecksum(ByVal AFileName As String, ByVal CheckMethod As TSBFTPCheckMethod, ByVal StartPoint As Long = -1, ByVal EndPoint As Long = -1) As String

[Pascal]
    function GetLocalChecksum(const AFileName: string; CheckMethod: TSBFTPCheckMethod; const StartPoint: Int64 = -1; const EndPoint: Int64 = -1): string;

[VB6]
    not implemented;

[ActiveX]
    not implemented;

[DLL]
    not implemented;
 
 

Parameters

  • FileName - file name
  • CheckMethod - method for checksum computation
  • StartPoint - segment start position from which the control sum is counted
  • EndPoint - segment ending position until which the control sum is counted. If both start and end positions are -1, then control sum of the whole file is counted.
 
 

Possible methods:
[.NET] [Pascal] [ActiveX] Description
cmCRC = SmallInt(0) cmCRC cmCRC = 0 Calculate CRC checksum
cmMD5 = SmallInt(1) cmMD5 cmMD5 = 1 Calculate MD5 hash
cmSHA1 = SmallInt(2) cmSHA1 cmSHA1 = 2 Calculate SHA-1 hash
Declared in
[.NET] [Pascal]
Namespace: SBSimpleFTPS
Assembly: SecureBlackbox.FTPS
Unit: SBSimpleFTPS

 
 

Return value

    Control sum of the local file.

 
 

Description

    Use this method to get control sum of the local file or its part.

 
 

See also:     GetRemoteChecksum

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation