title: How to use YouTubeRequest in Xamarin.Forms (Portable)
body: <p>I want to upload <code>Video</code> in <code>YouTube</code> from my account whenever a user clicks on the <code>YouTube upload button</code>, I just want to know that what should I do if I have to send the stream content on YouTube. Or how can I get the path of video from Stream Data?</p>
  
  <pre><code>string developerkey = "api_key";
  YouTubeRequestSettings settings = new YouTubeRequestSettings("Sample", developerkey , "email_id", "password");
  YouTubeRequest request = new YouTubeRequest(settings);
  
  Video newVideo = new Video();
  newVideo.Title = "Video Title Here || ArgeKumandan";
  newVideo.Tags.Add(new MediaCategory("Autos", YouTubeNameTable.CategorySchema));
  newVideo.Keywords = "cars, funny";
  newVideo.Description = "My description";
  newVideo.YouTubeEntry.Private = false;
  newVideo.Tags.Add(new MediaCategory("mydevtag, anotherdevtag", YouTubeNameTable.DeveloperTagSchema));
  newVideo.YouTubeEntry.MediaSource = new MediaFileSource(@"‪C:\Users\Yudiz\Desktop\small.mp4", "video/mp4");
  
  var createdVideo = request.Upload(newVideo);
  </code></pre>
  
  <p>Thank You.</p>