our application requests a URL from a user however the URL might include information after the .com or .com.uk (any country designation) address ending.
for example the user may provide us with an address;
www.example.com/sample/userbin?form=sl&t=
Of course the above URL is made up and won't work but it illustrates my point.
Our application also stores connection data to enable the application to access the internet through a proxy server etc. It also allows the user to specify the Port number but we note that WebClient does not provide a member for Port Number.
The only other way is to append the port number to the URL but how can we do this when we don't know the URL provided by the user?