dimanche 27 janvier 2019

How can i search a hebrew word from a website using c#

Im trying to search a Hebrew word in a website using c# but i cant figure it out. this is my current state code that im trying to work with:

var client = new WebClient();
        Encoding encoding = Encoding.GetEncoding(1255);
        var text = client.DownloadString("http://shchakim.iscool.co.il/default.aspx");

        if (text.Contains("ביטול"))
        {
            MessageBox.Show("idk");
        }

thanks for any help :)

Aucun commentaire:

Enregistrer un commentaire