Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
65 lines (54 sloc) 2.7 KB

Google .NET Client API - ResumableUpload.CS.Sample

Browse Online

Browse Source or main file ResumeableUploadSample.cs

API access Instructions

Visit the Google APIs console <<<<<<< HEAD

  • Click on the drop down to the far right of the "Google APIs" logo, and click "Create a project..."
  • Enter a project name
  • Click Create
  • Click YouTube Data API
  • Click Enable
  • Click Go to Credentials
  • In the "Where will you be calling the API from" ComboBox, choose "Other UI (e.g. Windows, CLI tool)"
  • Choose "User Data"
  • Click What Credentials do I need?
  • Enter a product name for your Client ID
  • Click Create client ID
  • Enter "Product name shown to users"
  • Click Continue
  • Click I'll do this later
  • Click the name of your newly created OAuth 2.0 client ID
  • Copy the Client ID and Client secret to use when editing the sample source program

Setup Project in Visual Studio

  • Open the GoogleApisSamples.sln with Visual Studio.

  • Click Tools / NuGet Package Manager / Manage NuGet Packages for Solution.

  • Click on Updates / nuget.org and install all update packages.

  • Insert your Client ID and Client secret into the source code.

  • Change VIDEOFULLPATHFILENAME to specify the video file to be uploaded.

  • Click on Build then Rebuild Solution. =======

    • Click on the drop down to the far right of the "Google APIs" logo, and click "Create a project..."
    • Enter a project name
    • Click Create
    • Click YouTube Data API
    • Click Enable
    • Click Go to Credentials
    • In the "Where will you be calling the API from" ComboBox, choose "Other UI (e.g. Windows, CLI tool)"
    • Choose "User Data"
    • Click What Credentials do I need?
    • Enter a product name for your Client ID
    • Click Create client ID
    • Enter "Product name shown to users"
    • Click Continue
    • Click **I'll do this later"
    • Click the name of your newly created OAuth 2.0 client ID
    • Copy the Client ID and Client secret to use when editing the sample source program

Setup Project in Visual Studio

    - Open the GoogleApisSamples.sln with Visual Studio.
- Click Tools / NuGet Package Manager / Manage NuGet Packages for Solution.
    - Click on Updates / nuget.org and install all update packages.
    - Insert your **Client ID** and **Client secret** into the source code.
    - Change **VIDEOFULLPATHFILENAME** to specify the video file to be uploaded.
    - Click on Build then Rebuild Solution.

refs/remotes/google/master

You can’t perform that action at this time.