我想通过HTTP网络请求将视频上传到Youtube。
我不想使用YouTube提供的任何DLL。
答案 0 :(得分:0)
您可以尝试直接点击他们的API。我不确定你为什么不想使用他们的dll,但最简单的方法就是使用它们。
using (var client = new HttpClient())
{
var response = await client.PostAsync("https://www.googleapis.com/youtube/v3/insert", video);
var responseString = await response.Content.ReadAsStringAsync();
}