Band no Youtube
Band no Youtube

Reputation: 46

Claim the video with a monetization policy Youtube .NET

I founded many examples with PHP and Java, but I need to create one Web Service to Upload videos with a policy monetization on You tube, I tried this code below and others, but I don't get Upload videos and set monetization. How can I do this?

video.MonetizationDetails = new VideoMonetizationDetails { Access = new AccessPolicy { Allowed = true } };

Upvotes: 1

Views: 414

Answers (1)

ReyAnthonyRenacia
ReyAnthonyRenacia

Reputation: 17651

Use the Youtube .NET Guide as your reference. You can use MonetizationDetails in C#/.NET like you do in other languages. It should follow the same concept.

Upvotes: 2

Related Questions