DriveClientAuthorizeAsync Method
Authorizes this instance to use Google Drive API services.
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 Task<UserCredential> AuthorizeAsync()
Public Function AuthorizeAsync As Task(Of UserCredential)
Dim instance As DriveClient
Dim returnValue As Task(Of UserCredential)
returnValue = instance.AuthorizeAsync()
public:
Task<UserCredential^>^ AuthorizeAsync()
member AuthorizeAsync : unit -> Task<UserCredential>
No code example is currently available or this language may not be supported.
Return Value
TaskUserCredential
The resulting
TaskTResult.
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.ReadOnly Or DriveScopes.Modify Or DriveScopes.Send)
Dim credential As UserCredential = Await client.AuthorizeAsync()
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.