新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

Newbee - need to download one file a day via a .NET console app

新規投稿

コメント

1件のコメント

  • aweber

    I use the .NET code in one of my apps, but if all you want to do is download a specific file on-demand, you might want to skip all the extra Box functionality in the library/assembly and just use straight HTTPClient (more likely HTTPWebRequest) and a shared link to the file.  That way you (or your client) can share the file and manage access directly from Box.

     

    You may still need to deal with OAuth or JWT, which can be confusing if you're just getting started with that...but there are also some helper lib's out there to facilitate that.

     

    If you get the OAuth2 running, you could also then use the HTTPWebRequest or one of the REST-helper libs to fetch the file using the Download File call if you have the file's ID.

     

    So the skinny of this is, if you're only trying to make 1-2 calls to Box, you can do it via the direct REST calls and skip fighting to compile the dll-project.

     

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。