GetFileLastAccessTime Method

Retrieves the last access time of a vault item.

Syntax

public DateTime GetFileLastAccessTime(string fileName);
Public Function GetFileLastAccessTime(ByVal FileName As String) As DateTime

Remarks

This method retrieves the creation time of the vault item (file, directory, symbolic link, or alternate stream) specified by FileName. The timestamps returned by this method are specified in UTC.

Note that vault items' last access times are only updated if the UseAccessTime property is enabled.

The value passed for FileName must be a vault-local absolute path.

Note: This method can only be called when Active is true.

Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Vault 2020 .NET Edition - Version 20.0 [Build 7982]