DriveClientDownloadFile(File, String) Method
Downloads the specified file.
Namespace: DevCase.ThirdParty.Google.DriveAssembly: DevCase.net48.ThirdParty.GoogleServices (in DevCase.net48.ThirdParty.GoogleServices.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public void DownloadFile(
File srcFile,
string dstFilePath
)
Public Sub DownloadFile (
srcFile As File,
dstFilePath As String
)
Dim instance As DriveClient
Dim srcFile As File
Dim dstFilePath As String
instance.DownloadFile(srcFile, dstFilePath)
public:
void DownloadFile(
File^ srcFile,
String^ dstFilePath
)
member DownloadFile :
srcFile : File *
dstFilePath : string -> unit
No code example is currently available or this language may not be supported.
Parameters
- srcFile File
-
The source file to download.
- dstFilePath String
-
The destination file path where to save the downloaded file.
This is a code example.
No code example is currently available or this language may not be supported.
Dim client As New DriveClient("C:\GoogleSecrets.json", "yourmail@gmail.com", DriveScopes.Full Or DriveScopes.Metadata)
Dim credential As UserCredential = client.Authorize()
Dim file As Google.Apis.Drive.v3.Data.File = client.GetFileById(" File Id. ")
client.DownloadFile(srcFile, dstFile)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.