If using a Duet 3 + SBC it would be better to have the C# application running directly on the SBC since there are dedicate API libraries for .NET Core available (DuetAPI/DuetAPIClient on NuGet). There is no official library for remote operation available yet, so you will need to develop your own functions. Check out the documentation here for stand-alone and here for SBC HTTP requests.