public interface IAssemblyModule
{
/// <param name="executeParams">User Data</param>
/// <param name="moduleSettings">User module settings</param>
ModuleExecuteResult[] Execute(ModuleExecuteParams executeParams, Dictionary<string, object> moduleSettings, ModuleExecuteInfo moduleExecInfo);
}
[Module("4D8CB3CE-58D9-42CA-848F-404B53C4E503",
"3c5a4596-0b18-4125-befb-2c026250f21d", // SchemaID
Name = "HTTP sender",
Description = "HTTP sender",
ParameterInfoType = typeof(HttpSenderModuleParamInfo),
EventInfoType = typeof(HttpSenderModuleEventInfo) )]
var client = new WebClient();
using (var stream = client.OpenRead("https://api.vk.com/method/newsfeed.search?&Query=" + "New Year" + "&Extended=true&Count=200&access_token=" + token + "&v=5.64"))
using (var sr = new StreamReader(stream))
{
var text = sr.ReadToEnd();
var json = (JObject)JsonConvert.DeserializeObject(text);
textBox1.Text = string.Format("Это значение ({0}) из Json, и это ({1}) тоже", json["prop1"], json["prop2"]);
}