ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2017 www.aspforums.com. All rights reserved.Display list of files ( more than 100 records ) from Google Drive using Google Drive API in ASP.NetHi @aruna,<br />Please try the following<br /><br /><a href = 'link(Threads/201794/ASPSnippetsGoogleAPI-How-to-get-all-contacts-in-ASPNet/)'>ASPSnippets.GoogleAPI: How to get all contacts in ASP.Net</a><br /><br />It might help you.<br /><br />Cheers Andrea.http://www.aspforums.net/Threads/106728/Display-list-of-files-more-than-100-records-from-Google-Drive-using-Google-Drive-API-in-ASPNet/http://www.aspforums.net/Threads/106728/Display-list-of-files-more-than-100-records-from-Google-Drive-using-Google-Drive-API-in-ASPNet/Mon, 09 Jan 2017 13:45:46 GMTDisplay list of files ( more than 100 records ) from Google Drive using Google Drive API in ASP.Net<p>But there is no code or link there</p>http://www.aspforums.net/Threads/106728/Display-list-of-files-more-than-100-records-from-Google-Drive-using-Google-Drive-API-in-ASPNet/http://www.aspforums.net/Threads/106728/Display-list-of-files-more-than-100-records-from-Google-Drive-using-Google-Drive-API-in-ASPNet/Mon, 09 Jan 2017 13:51:35 GMTDisplay list of files ( more than 100 records ) from Google Drive using Google Drive API in ASP.Net<p>Thru the below code, I can able to fetch 1000 records. </p> <pre class="brush: csharp">namespace gDrive { class Program { static string[] Scopes = { DriveService.Scope.DriveReadonly }; static string ApplicationName = &#34;Drive API .NET Quickstart&#34;; static void Main(string[] args) { UserCredential credential; gDriveTableAdapter gDrive = new gDriveTableAdapter(); using (var stream = new FileStream(&#34;client_secret.json&#34;, FileMode.Open, FileAccess.Read)) { string credPath = System.Environment.GetFolderPath( System.Environment.SpecialFolder.Personal); credPath = Path.Combine(credPath, &#34;.credentials/drive-dotnet-quickstart.json&#34;); credential = GoogleWebAuthorizationBroker.AuthorizeAsync( GoogleClientSecrets.Load(stream).Secrets, Scopes, &#34;user&#34;, CancellationToken.None, new FileDataStore(credPath, true)).Result; //Console.WriteLine(&#34;Credential file saved to: &#34; + credPath); } // Create Drive API service. var service = new DriveService(new BaseClientService.Initializer() { HttpClientInitializer = credential, ApplicationName = ApplicationName, }); // Define parameters of request. FilesResource.ListRequest listRequest = service.Files.List(); listRequest.PageSize = 1000; listRequest.Fields = &#34;nextPageToken, files(webViewLink, name)&#34;; // List files. IList&lt;Google.Apis.Drive.v3.Data.File&gt; files = listRequest.Execute() .Files; Console.WriteLine(&#34;Processing...\n&#34;); if (files != null &amp;&amp; files.Count &gt; 0) { foreach (var file in files) { gDrive.InsertQuery(file.Name, file.WebViewLink); } Console.WriteLine(files.Count + &#34; records fetched.&#34;); } else { Console.WriteLine(&#34;No files found.&#34;); } Console.Read(); } } }</pre> <p>&nbsp;</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/106728/Display-list-of-files-more-than-100-records-from-Google-Drive-using-Google-Drive-API-in-ASPNet/http://www.aspforums.net/Threads/106728/Display-list-of-files-more-than-100-records-from-Google-Drive-using-Google-Drive-API-in-ASPNet/Tue, 10 Jan 2017 08:26:47 GMT