Azure / azure-data-lake-store-net

Azure Data Lake Store .Net SDK
MIT License
18 stars 24 forks source link

Need a way to get file info such as ModificationTime #3

Closed hankbeasley closed 6 years ago

Vivihung commented 6 years ago

Have you tried these two APIs? AdlsClient.GetDirectoryEntryAsync(String, UserGroupRepresentation, CancellationToken) AdlsClient.GetDirectoryEntry(String, UserGroupRepresentation, CancellationToken)

They work for both files and directories. And the returned DirectoryEntry has a property called "LastModifiedTime"

rahuldutta90 commented 6 years ago

Thanks @Vivihung. Yes AdlsClient.GetDirectoryEntryAsync will meet your needs.