Пост картинки на стену

Aug 26, 2014 at 5:44 AM
        var api = new VkApi();
        api.Authorize(4521225, login, pwd, Settings.All);
        NameValueCollection nvc = new NameValueCollection();
        Dictionary<string, string> response = new Dictionary<string, string>();
        using (WebClient client = new WebClient())
        {
            byte[] responseByte = client.UploadFile(api.Photo.GetWallUploadServer(api.UserId).UploadUrl, @"D:\1.png");
            string s = client.Encoding.GetString(responseByte);
            response = Newtonsoft.Json.JsonConvert.DeserializeObject<Dictionary<string,string>>(s);
        }

      var photo =   api.Photo.SaveWallPhoto(response["photo"],api.UserId,null, int.Parse(response["server"]), response["hash"]);


ответ invalid hash!!!!!!!!!