In C#, what is a synchronous alternate for HttpClient.getStringAsync() method?
<p>In a winform, clicking on a button calls this method to download link content as string and then displays string length in a textbox. This all happens asynchronously. Is there a way to do this synchronously?</p>