YoutubeClient(String, MailAddress, YoutubeScopes) Constructor

Initializes a new instance of the YoutubeClient class.

Definition

Namespace: DevCase.ThirdParty.Google.Youtube
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 YoutubeClient(
	string apiFile,
	MailAddress mailAddress,
	YoutubeScopes scopes
)

Parameters

apiFile  String
The client_secrets.json file generated by Youtube 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 Youtube service. (e.g: "yourmail@gmail.com")
scopes  YoutubeScopes
The Youtube OAuthv2 scope.

See Also