AnyoneDrive provides access to OneDrive's public shares using a familiar approach inspired by FileInfo and DirectoryInfo. The library offers the simplest form of read only access, requiring no authentication, to OneDrive's publicly available content.
var httpClient = new HttpClient();
var root = new OneDriveFolderInfo("https://1drv.ms/f/s!AuveTnis1UC4ylzSgCoulSxnQGB9");
var files = await root.root.GetFilesAsync(httpClient);
Please note that the link to the public folder must be accessible through public shares, and the link should include a share ID that begins with 's!'.
Created from JandaBox Box icon created by Freepik - Flaticon