Hello
You can reference System.Web assembly in your Windows Forms project and call
the static method HttpUtility.UrlEncode() .
Calling this method doesn't require being run as a web page, you can call it
from a windows forms, console or service application.
Best regards,
Sherif
"Muscha" <mu****@no.spam.net> wrote in message
news:ea**************@TK2MSFTNGP11.phx.gbl...
Hi,
On an ASP.Net I can use UrlEncode() method to encode a URL that I want to
forward using respnose.redirect, what's the equivalent of this in Windows
Form? I want to be able to do open a webbrowser with a URL as a query
parameter.
Thanks,
/m