Skip to main content

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

  • September 5, 2023
  • 1 reply
  • 282 views

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
Forum|alt.badge.img
  • Senior Developer Advocate
  • 181 replies
  • September 5, 2023

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 🥑


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings