Skip to main content
New Participant
Sep 5, 2023 4:01 PM UTC

Upload file into box without manual interaction using c#.net

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.

1 reply

smartoneinok Box
Senior Developer Advocate
Sep 5, 2023 6:39 PM UTC

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 🥑

Translate