c# - Turning a IP Address into a valid URI -


i have been trying navigate webview element in windows store app '192.168.0.1' reason uri class can not parse it, there way make convert ip address uri?

the answer add prefix of ip's protocol:

http:// or https://, instance

new uri("192.168.0.1") have new uri("http://192.168.0.1/")

thanks bob kaufman


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

Redirect to a HTTPS version using .htaccess -

Unlimited choices in BASH case statement -