Silverlight : How to pass data from the reqest to the respose using Webclient Asychronous mode ?
- by user318332
This is probably a basic question ..
void method1()
{
String VIP = "test";
WebClient proxy = new WebClient();
proxy.OpenReadCompleted += new OpenReadCompletedEventHandler(proxy_OpenReadCompleted);
String urlStr = "someurl/lookup?q=" + keyEntityName + "&fme=1&edo=1&edi=1";
}
void proxy_OpenReadCompleted(object sender, OpenReadCompletedEventArgs e)
{
}
I need to access VIP in the proxy_OpenReadCompleted method. Pl. help