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