public bool Run(string keymr) { Request = new DirectoryBlockRequest(); Request.param.keymr = keymr; return(Run(Request)); }
public bool Run(DirectoryBlockRequest requestData) { var reply = Client.MakeRequest <DirectoryBlockRequest>(requestData); JsonReply = reply.Content; if (reply.StatusCode == System.Net.HttpStatusCode.OK) { Result = JsonConvert.DeserializeObject <DirectoryBlockResult>(reply.Content); return(true); } return(false); }