public List <string> GetComServerLogContents(string url, string serverName, string interComKey, string name, int limit) { var dtorequest = new DtoLogContentRequest(); dtorequest.name = name; dtorequest.limit = limit; Request.Method = Method.POST; Request.Resource = "Imaging/GetComServerLogContents"; Request.AddJsonBody(dtorequest); return(new ApiRequest(new Uri(url)).ExecuteHMACInterCom <List <string> >(Request, serverName, interComKey)); }
public List <string> GetComServerLogContents(DtoLogContentRequest logRequest) { return(new Toems_Service.FilesystemServices().GetLogContents(logRequest.name, logRequest.limit)); }