Demonstration of how to recycle the file version from the library in SharePoint using Client Side Object Model
PnP core component contains the extension methods which help to achieve the SharePoint task in simple lines of code. So to know more about PnP Core component, have a look at “Introduction to PnP Core Component”. WebExtensions.ReIndexWeb (PnP Core Component) –
PnP – Patterns and Practices community team released a three different CSOM Extensions for each versions of SharePoint in a Nuget package and the source is available in github.