Skip to main content

I need to upload file into box without manual interaction using c#.net.


As per the SDK, I need to pass access token & refresh token.


How can I get Access token & refresh token from C#.net using client id & client secret without manual interaction.


Thanks.

Hello 👋



You can create a client using the .NET SDK and CCG. Here is a code snippet of doing this.



You can then use the upload method.



Thanks,


Alex, Box Developer Advocate 🥑


Reply