plneto / Synology.Api.Client

.NET/C# client for the Synology API
MIT License
21 stars 13 forks source link

New FileStation CreateFolder API #1

Closed mitch-b closed 1 year ago

mitch-b commented 1 year ago

Tried to follow same conventions.

--

Tested with the following demo client console app using .NET 7

using Synology.Api.Client;

var api = new SynologyClient("http://dsm-url.local");
await api.LoginAsync("username", @"password");
await api.FileStationApi()
    .CreateFolderEndpoint()
    .CreateAsync(new[] { "/folder/test" }, true);
plneto commented 1 year ago

That looks great. Thank you 👍