YouTube API C#:在上传时设置视频隐私设置

YouTube API C#:在上传时设置视频隐私设置,c#,youtube-api,C#,Youtube Api,根据代码示例: YouTubeRequest request = new YouTubeRequest(settings); Video newVideo = new Video(); newVideo.Title = "Test"; newVideo.Tags.Add(new MediaCategory("Animals", YouTubeNameTable.CategorySchema)); newVideo.Description = "Testing Testing Testing";

根据代码示例:

YouTubeRequest request = new YouTubeRequest(settings);
Video newVideo = new Video();
newVideo.Title = "Test";
newVideo.Tags.Add(new MediaCategory("Animals", YouTubeNameTable.CategorySchema));
newVideo.Description = "Testing Testing Testing";
newVideo.Private = true;
newVideo.YouTubeEntry.Private = false;
newVideo.YouTubeEntry.MediaSource = new MediaFileSource("C:\\test.wmv", "video/x-ms-wmv");
request.Upload(newVideo);
我们有两条有趣的线路:

newVideo.Private = true;
newVideo.YouTubeEntry.Private = false;
如果设置为
newVideo.YouTubeEntry.Private=false-它将是公共视频。
如果设置为
newVideo.YouTubeEntry.Private=true-这将是私人视频
参数
newVideo.Private=true未知

但YouTube还有一个参数——“通过链接访问”。
如何在上传时通过链接访问视频?

将此重新发布在此处,以获得问题的答案

我甚至无法发表评论,因为我的代表太低了…

干杯