DriveClient(String, MailAddress, DriveScopes) Constructor

Initializes a new instance of the DriveClient class.

Definition

Namespace: DevCase.ThirdParty.Google.Drive
Assembly: 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 DriveClient(
	string apiFile,
	MailAddress mailAddress,
	DriveScopes scopes
)

Parameters

apiFile  String
The client_secrets.json file generated by Drive API console that contains the OAuthv2 login data such as the client id, client secret, and redirection URI.
mailAddress  MailAddress
The mail address to authorize Drive service. (e.g: "yourmail@gmail.com")
scopes  DriveScopes
The Drive OAuthv2 scope.

See Also