Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.GetLocalETag

TElAWSS3DataStorage     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Computes ETag of the local data object.

Declaration

[C#/Java]
    string GetLocalETag(System.IO.Stream Stream);
    string GetLocalETag(string Filename);

[VB.NET]
    Function GetLocalETag(ByVal Stream As System.IO.Stream) As String
    Function GetLocalETag(ByVal Filename As String) As String

[Pascal]
    function GetLocalETag(Stream : TStream) : string;
    function GetLocalETag(const Filename : string) : string;

[C++]
    void GetLocalETag(TStream &Stream, std::string &OutResult);
    void GetLocalETag(TStream *Stream, std::string &OutResult);
    void GetLocalETag(const std::string &Filename, std::string &OutResult);

[PHP]
    string GetLocalETag(TStream $Stream)
    string GetLocalETag(string $Filename)

Parameters

  • Stream - stream with the object
  • Filename - name of the file with the object

Return value

    String that contains ETag of the object.

Description

    Use this method to compute ETag (entity tag) of the local data object contained in a tream or file.
    The entity tag is an MD5 hash calculated over object's content. It is used to check whether the object has been modified.

See also:     GetRemoteETag    

Discuss this help topic in SecureBlackbox Forum