public Task <byte[]> GetRrdFile(string fileName) { if (RequestType == RequestType.http) { var toto = "rrd.php?name="; return(_getclient.GetRrdFileAsync(fileName)); } if (RequestType == RequestType.ssh) { var tutu = "/var/lib/openmediavault/rrd/"; return(_getclient.GetRrdFileAsync(tutu + fileName)); } return(Task.FromResult(default(byte[]))); }