Skip to main content

Google Drive Personal File System Provider

The Google Drive file system provider (personal account) (GoogleDrivePersonalFileSystemProvider) allows you to connect ASPxFileManager to Google Drive (using client authorization).


Register the Google Drive service account that belongs to the user’s account. The service account allows you to use the Google APIs to access the account.

Provider Settings

Set the ASPxFileManager.ProviderType property to FileManagerProviderType.GoogleDrivePersonal to allow ASPxFileManager to manage files and folders in Google Drive.

The GoogleDrivePersonalFileSystemProvider class allows you to access the file and folder hierarchy, and manipulate these files in the file manager.


Do the following to connect ASPxFileManager to Google Drive (personal account):

  • Use the AccountManager.RegisterGoogleDrivePersonal method to register the Google Drive personal account in the global.asax file.

    AccountManager.RegisterGoogleDrivePersonal("FileManagerGoogleDrivePersonalAccount", "customClientID", "..MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCVoaYrE7fEgu...");
  • Use the ASPxFileManager.SettingsGoogleDrivePersonal property to specify the Google Drive personal account settings:

    <dx:ASPxFileManager ID="FileManager" runat="server" ProviderType="GoogleDrivePersonal">
        <SettingsGoogleDrivePersonal AccountName="FileManagerGoogleDrivePersonalAccount" RedirectUrl="" />

ASPxFileManager allows you to handle every request to the Google Drive personal account (the ASPxFileManager.CloudProviderRequest event).