/// <summary> /// Return the version of the connected influxDB Server. /// </summary> /// <returns>The version String, otherwise unknown</returns> public async Task <string> VersionAsync() { InfluxDbApiResponse response = await _influxDbClient.Version(NoErrorHandlers); const string version = "unknown"; if (!string.IsNullOrEmpty(response.Body)) { return(response.Body); } return(version); }