Can somebody please convert this C# code to VB.Net
Hai,Can anybody please convert this C# code to VB.net
string userName = "xxxxx";
string password = "xxxxx";
string uRL;
StreamReader objReader;
uRL = "http://sms.openmarket.com/sms/v1/send?user=" + userName + "&pass=" + password + "&smsto=91" + txtMobileNumber.Text + "&smsmsg=" + txtMessage.Text;
WebRequest webRequest;
webRequest = WebRequest.Create(uRL);
try
{
Stream objStream;
objStream = webRequest.GetResponse().GetResponseStream();
objReader = new StreamReader(objStream);
objReader.Close();
}
catch (Exception ex)
{
ex.ToString();
}
Thanks in advance.