Webページへのアクセス処理を作っていたのですが、うまく動作しません。
以前は同じプログラムが動作していたのですが、何かあるんですか?

string url = "http://www.....";
WebClient wc = new WebClient();
Stream st = wc.OpenRead(url);
StreamReader sr = new StreamReader(st, Encoding.GetEncoding("Shift_JIS"));
Console.WriteLine(sr.ReadToEnd());
sr.Close();
st.Close();