I need HttpUtility for encoding strings, but it seems it was supported, but no longer. Actually, the whole System.Web is gone.
Is there an alternative? I need to Javascript Escape some strings.
The HttpUtility class lives in the System.Web.Services assembly, just make sure that you are referencing that assembly.
I am using Xamarin Studio with Mono 3.0.10 and in there, you need to reference the System.Web dll and include it with
using System.Web;
Then you will have the HTTPUtility and encode/decode functionality available
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With