예제 #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);
        }
예제 #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;
        }