WebClient wc = new WebClient(); wc.Headers.Clear(); wc.Headers.Add("Authorization", "bearer xxxxxxxxx"); wc.Headers.Add("type", "streaming"); var vimeoTicket = JsonConvert.DeserializeObject<JObject>(wc.UploadString("https://api.vimeo.com/me/videos", "POST", "")); var fileName = File.ReadAllBytes(saveFilePath); byte[] responseArray = wc.UploadData(new Uri(vimeoTicket["upload_link_secure"].ToString()),"PUT", fileName);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)