Discuss this help topic in SecureBlackbox Forum

TElCustomFileSystemAdapter.FileGetTimes

TElCustomFileSystemAdapter     See also     


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


Gets file creation, modification and access times.

Declaration

[C#]
    int FileGetTimes(string Path, ref DateTime CreationTime, ref DateTime ModificationTime, ref DateTime LastAccessTime);

[VB.NET]
    Function FileGetTimes(ByVal Path As String, ByRef CreationTime As DateTime, ByRef ModificationTime As DateTime, ByRef LastAccessTime As DateTime) As Integer

[Pascal]
    function FileGetTimes(const Path : string; var CreationTime, ModificationTime, LastAccessTime : TDateTime) : integer; virtual;

[C++]
    int32_t FileGetTimes(const std::string &Path, int64_t &CreationTime, int64_t &ModificationTime, int64_t &LastAccessTime);

[PHP]
    integer FileGetTimes(string $Path, DateTime &$CreationTime, DateTime &$ModificationTime, DateTime &$LastAccessTime)

[Java]
    int fileGetTimes(String Path, TElVFSFileTimes Times);

Parameters

  • Path - path to the file which times are needed.
  • CreationTime - specifies file creation time.
  • ModificationTime - specifies file modification time.
  • LastAccessTime - specifies last access time of the file.
  • Times -

Return value

    Returns a VFS error code.

Possible values:

Description

    Use this method to retrieve different system times for the specified file.

See also:     FileSetTimes    

Discuss this help topic in SecureBlackbox Forum