Send E-Mail with last downloads

Hi @starterui

You can use the below one,

(From file In New System.IO.DirectoryInfo("path_to_your_folder").GetFiles() _
 Order By file.LastWriteTime Descending _
 Take 3).ToArray()

Hope it helps!!

1 Like