Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6930791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:29:37+00:00 2026-05-27T11:29:37+00:00

I am trying manipulate files using Dropbox Api by using DropNet Client (C# version

  • 0

I am trying manipulate files using Dropbox Api by using DropNet Client (C# version of Dropbox CLient API). Here is my code:

    var client = new DropNetClient(APP_KEY,APP_SECRET);
    client.Delete("/Public/test.txt");

But it seems I need “USER TOKEN” and “USER SECRET” as well. Where should I get these two?
Updated:
I just need to manipulate files in my own folders and my shared folders. I already have APP_KEY and APP_SECRET from myApp page, where can I get “USER TOKEN” and “USER SECRET”

THanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:29:38+00:00Added an answer on May 27, 2026 at 11:29 am

    When you create your app on the dropbox web site, they give you an APP_KEY (identifies your app) and an APP_SECRET (like a password). You’re essentially registering your app with drop box in order to integrate with their service.

    Here’s an overview:
    http://www.dropbox.com/developers/start/core

    Click the “my apps” link in that page. You’ll have to create or login with your drop box account. After that, you can create an app. Give it a name and description, select access folder or full contents and click OK. They will give you the key and secret after registering your app.

    EDIT:

    Concerning the specific C# DropNetClient, you’re supposed to replace “APP_KEY” and “APP_SECRET” with your appKey and appSecret strings from that site.

    This link lays out the sequence pretty clearly:

    https://github.com/dkarzon/DropNet

    _client = new DropNetClient("API KEY", "API SECRET");
    

    for example:

    // replace with given app key and secret from site
    _client = new DropNetClient("8oz68cz267t52fz", "mavm58321hrhejy");
    

    Once you have a client object, you need to pop a browser and have the user login to drop box with their user account. that’s covered in step 2 of that link by getting the url.

    var url = _client.BuildAuthorizeUrl();
    

    Now that the user has logged on, you can get a user access token via synchronous or asynchronous methods. the user token enables a “remember me” feature without having the user reauthenticating and especially from your app storing their account/pass which you should never do. It’s a token that proves they’ve authenticated with drop box. From step 3 of that link:

    // Sync
    var accessToken = _client.GetAccessToken(); //Store this token for "remember me" function
    
    // Async
    _client.GetAccessTokenAsync((accessToken) =>
        {
            //Store this token for "remember me" function
        },
        (error) =>
        {
            //Handle error
        });

    Note that var accessToken is really a DropNet.Models.UserLogin object. That object contains:

        public string Token { get; set; }
        public string Secret { get; set; }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to manipulate a string using Jython, I have included below an
I am trying to manipulate an image using a chain of CIFilters, and then
I'm using C# in .NET 2.0 and I'm trying to access and manipulate a
I am trying to manipulate a file and create a new folder from within
Hey guys I am trying to manipulate a word .docx file using the openXML
I'm trying to manipulate an audio file (mp3), using <audio> and javascript but nothing
I am new to programming, trying to copy files from one location to another,
I'm trying to simulate some code that I have working with SQL but using
New to VB.net, just trying to figure out how to properly manipulate the asp:Label
I'm trying to code up an Emacs script that has to manipulate the clipboard

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.