Ejemplo n.º 1
0
        internal GoogleDriveApi GetGoogleDriveApi()
        {
            const string appName = "docconverter";

            string         path     = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "myprivatekey.p12");
            GoogleDriveApi driveApi = new GoogleDriveApi(appName, path);

            return(driveApi);
        }
Ejemplo n.º 2
0
        internal GoogleDriveApi GetGoogleDriveApi()
        {
            const string appName = "docconverter";

            string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "myprivatekey.p12");
            GoogleDriveApi driveApi = new GoogleDriveApi(appName, path);

            return driveApi;
        }