For example to take the current request URL and converted it to a secure URL can be done like this:
Secure Sockets Layer (SSL).
UriBuilder build = new UriBuilder(Request.Url); build.Scheme = "https"; build.Port = -1; // don't inject port Uri newUri = build.Uri; string newUrl = build.ToString();


December 28th, 2009
Ankit 





































Posted in
Tags: