Google Drive API - using Google.Apis.Authentication

I am trying to make use of the Google Drive API and looking at the example located here -

To get the example to work I need to include the following: using Google.Apis.Authentication;

Has anyone used this dll I cant seem to locate it where to download it from?

I have managed to find the Google.Apis.Drive.v2 dll easily.


That is part of the Google APIs Client Library for .NET, you can get the dlls you need from the Downloads page:

I found this here:

namespace Google.Apis.Authentication
    /// <summary>
    /// Classes that implement this interface will know how 
    /// a WebRequest with the approreate authentication embed in the request.
    /// </summary>
    [Obsolete("IAuthenticator is not supported any more and it's going to be removed in 1.7.0-beta. " +
            "Consider using UserCredential or ServiceAccountCredential from the new Google.Apis.Auth NuGet package " +
            "which supports .NET 4, .NET for Windows, Store apps, Windows Phone 7.5 and 8 and Portable Class " +
            "Libraries as well")]
    public interface IAuthenticator
        /// <summary>
        /// Takes an existing httpwebrequest and modifies its headers according to 
        /// the authentication system used.
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        void ApplyAuthenticationToRequest(HttpWebRequest request);

Need Your Help

Retrieving test duration from NUnit TestContext

c# unit-testing nunit

I would like to be able to access the duration of a test in my test code. I have been looking at the TestContext class in NUnit, but while I find information abut "FullName", I cannot figure out wh...