public void requestAllNews()
{
try
{
this.m_UriDataSource = new Uri(this.m_del_GetUIR() + this.m_strNewsPostFix);
HttpWebRequest httpWebRequest = (HttpWebRequest)HttpWebRequest.Create(this.m_UriDataSource);
httpWebRequest.Method = "GET";
// Set the ContentType property of the WebRequest.
//httpWebRequest.Accept = "application/xml";
httpWebRequest.Accept = "application/json";
//httpWebRequest.Headers = "";
var result = (IAsyncResult)httpWebRequest.BeginGetResponse(ResponseCallback, httpWebRequest);
}
catch (Exception ex)
{
this.m_del_ErrorMessage(ex.Message);
}
}