URL is not supporting

my current page url is like "http://localhost:x00x/abc/xyz/money.aspx?Num=vasdfasdf8=" i am sending it to StreamReader r = File.OpenText(URL);

it throws me an error “URI formats are not supported.”


Hi,


Thanks for contacting support.

Please try following the approach specified over following link to properly read the contents from URL. In case you still face the similar problem or you have any further query, please feel free to contact. We are sorry for your inconvenience.

How to convert HTML to PDF using InLineHTML approach