I know that I could use HttpServerUtility.UrlTokenDecode Method to do the job. But the problem is that I am using .NET 1.1 and this method is only supported in .NET 2.0+. Also I found that Convert.ToBase64String method is not an option because of the differences addressed here. So what other options do I have? Do I have to write my own converting method?
Thanks.
If
UrlTokenDecodewill get the job done, why not use it? I know you are using .NET 1.1, but you can use Reflector to decompile the method from the 2.0 framework and then create your own version.Here’s the underlying code for that method. I’ve not tested it, but I imagine that if you add this as a method to a class in your project you should be off and running…