Click here to Skip to main content
15,891,621 members
Articles / Desktop Programming / WPF

Working with Google Drive in WPF

Rate me:
Please Sign up or sign in to vote.
4.96/5 (20 votes)
6 Mar 2013CPOL19 min read 85K   4.9K   74  
Authenticating and uploading files to Google Drive.
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>Google.Apis.Oauth2.v2</name>
    </assembly>
    <members>
        <member name="P:Google.Apis.Oauth2.v2.Data.Tokeninfo.Access_type">
            <summary>The access type granted with this token. It can be offline or online.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Tokeninfo.Audience">
            <summary>Who is the intended audience for this token. In general the same as issued_to.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Tokeninfo.Email">
            <summary>The email address of the user. Present only if the email scope is present in the request.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Tokeninfo.Expires_in">
            <summary>The expiry time of the token, as number of seconds left until expiry.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Tokeninfo.Issued_to">
            <summary>To whom was the token issued to. In general the same as audience.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Tokeninfo.Scope">
            <summary>The space separated list of scopes granted to this token.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Tokeninfo.User_id">
            <summary>The Gaia obfuscated user id.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Tokeninfo.Verified_email">
            <summary>Boolean flag which is true if the email address is verified. Present only if the email scope is present in the request.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Userinfo.Birthday">
            <summary>The user&apos;s birthday. The year is not present.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Userinfo.Email">
            <summary>The user&apos;s email address.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Userinfo.Family_name">
            <summary>The user&apos;s last name.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Userinfo.Gender">
            <summary>The user&apos;s gender.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Userinfo.Given_name">
            <summary>The user&apos;s first name.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Userinfo.Id">
            <summary>The focus obfuscated gaia id of the user.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Userinfo.Link">
            <summary>URL of the profile page.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Userinfo.Locale">
            <summary>The user&apos;s default locale.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Userinfo.Name">
            <summary>The user&apos;s full name.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Userinfo.Picture">
            <summary>URL of the user&apos;s picture image.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Userinfo.Timezone">
            <summary>The user&apos;s default timezone.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Data.Userinfo.Verified_email">
            <summary>Boolean flag which is true if the email address is verified.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Oauth2Service.Key">
            <summary>Sets the API-Key (or DeveloperKey) which this service uses for all requests</summary>
        </member>
        <member name="T:Google.Apis.Oauth2.v2.Oauth2Service.Scopes">
            <summary>A list of all OAuth2.0 scopes. Each of these scopes relates to a permission or group of permissions that different methods of this API may need.</summary>
        </member>
        <member name="F:Google.Apis.Oauth2.v2.Oauth2Service.Scopes.PlusMe">
            <summary>Know who you are on Google</summary>
        </member>
        <member name="F:Google.Apis.Oauth2.v2.Oauth2Service.Scopes.UserinfoEmail">
            <summary>View your email address</summary>
        </member>
        <member name="F:Google.Apis.Oauth2.v2.Oauth2Service.Scopes.UserinfoProfile">
            <summary>View basic information about your account</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Oauth2Service.TokeninfoRequest.Oauth_token">
            <summary>OAuth 2.0 token for the current user.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.Oauth2Service.TokeninfoRequest.PrettyPrint">
            <summary>Returns response with indentations and line breaks.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.UserinfoResource.V2Resource.MeResource.GetRequest.Oauth_token">
            <summary>OAuth 2.0 token for the current user.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.UserinfoResource.V2Resource.MeResource.GetRequest.PrettyPrint">
            <summary>Returns response with indentations and line breaks.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.UserinfoResource.GetRequest.Oauth_token">
            <summary>OAuth 2.0 token for the current user.</summary>
        </member>
        <member name="P:Google.Apis.Oauth2.v2.UserinfoResource.GetRequest.PrettyPrint">
            <summary>Returns response with indentations and line breaks.</summary>
        </member>
    </members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) NFocus Consulting Inc
United States United States
I'm a Senior Software Developer with King Memory LLC in Columbus, OH working primarily in C# writing APIs and other line of business applications. I've been working in .Net since version 1.0 and I am skilled in most aspects of the platform. I've started out as an Automation Engineer working with robots, lasers, machine vision, and other cool stuff which I miss. I've also worked in healthcare and digital marketing. I speak fluent binary.

On the side I own Aerial Break Software under which I publish personal projects and hope to make some money... someday.

My fun job is shooting Fireworks professionally as an Ohio licensed fireworks exhibitor. I'm licensed for outdoor and indoor fireworks and I've been on the crew for Red, White, and Boom in Columbus, OH since 2002.

Comments and Discussions