Hi,
I want to download Recycle bin data from sharepoint online using CSOM C#.
What I know that by following code I will be able to connect to recycle bin.
Web web = clientContext.Web;
RecycleBinItemCollection rbiColl = web.RecycleBin;
clientContext.Load(rbiColl);
clientContext.ExecuteQuery();
foreach (RecycleBinItem rbiItem in rbiColl)
{
Console.WriteLine(rbiItem.Title);
}
But my question is how to download the recycle bin whole data to my local directory.
Thanks
Palak Jain