this code isnt working:

PHP Code:
        private string downloadData(string uRL)
        {
            
byte[] ssBuffer;
            
WebClient wcClient = new WebClient();

            try
            {
                
ssBuffer wcClient.DownloadData(uRL);
                return 
Encoding.Default.GetString(ssBuffer);
            }

            catch (
InvalidCastException e)
            {
                return 
"err: " e.Message;
            }

        }