I want its output as uppercase. This is what I get on Server.UrlEncode("http://"):
http%3a%2f%2f
but I need:
http%3A%2F%2F
Is there built-in solution in C#?
The url encoded shall serve as signature base string (input to signature algorithm) to create digest (hash). The hash will then be verified by other system (java,php,etc), so they need to recreate the hash by signature reconstruction first.
%2fand%2Fis enough to make your signature invalid - oauth.net/core/1.0/#encoding_parameters