Skip to content

Repository files navigation

TagBites.IO.OneDrive

Nuget .NET Standard 2.1 License Downloads

OneDrive file system support for TagBites.IO, built on Microsoft Graph. Browse, read and write a user's OneDrive (or a specific drive by id) through the same FileSystem API used for local disk and other storages.

Install

dotnet add package TagBites.IO.OneDrive

Targets netstandard2.1. Depends on Microsoft.Graph and Azure.Core.

Usage

// Using an already-acquired Microsoft Graph access token (e.g. via MSAL)
using var fs = OneDriveFileSystem.Create(accessToken);

var file = fs.GetFile("/reports/summary.txt");
file.WriteAllText("Hello world!");

var content = file.ReadAllText(); // "Hello world!"

Connection options, capabilities and limits: documentation.

Links

About

No description, website, or topics provided.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages