string tit = textBox1.Text;
WebClient webC = new WebClient();
var movie = webC.DownloadString(string.Concat("https://www.omdbapi.com/?t=", tit, "&y=", comboBox1.Text, "&plot=short&r=json"));
JObject jO = JObject.Parse(movie);
if ((string)jO["Response"].ToString() == "False")
return false;
else
return true;
string tit = textBox1.Text;
WebClient webC = new WebClient();
var movie = webC.DownloadString(string.Concat("https://www.omdbapi.com/?t=", tit, "&y=", comboBox1.Text, "&plot=short&r=json"));
JObject jO = JObject.Parse(movie);
return (bool)jO["Response"];
string tit = textBox1.Text;
WebClient webC = new WebClient();
var movie = webC.DownloadString(string.Concat("https://www.omdbapi.com/?t=", tit, "&y=", comboBox1.Text, "&plot=short&r=json"));
JObject jO = JObject.Parse(movie);
if ((string)jO["Response"].ToString() == "False")
return false;
else
return true;
string tit = textBox1.Text;
WebClient webC = new WebClient();
var movie = webC.DownloadString(string.Concat("https://www.omdbapi.com/?t=", tit, "&y=", comboBox1.Text, "&plot=short&r=json"));
JObject jO = JObject.Parse(movie);
return (bool)jO["Response"];
Copyright © 2024, NextGenUpdate.
All Rights Reserved.