/// <summary> /// Retrieves the amount of free disk space. /// </summary> /// <returns></returns> public long GetFreeDiskSpace() { DataResponse resp = cruiseServer.GetFreeDiskSpace(GenerateServerRequest()); ValidateResponse(resp); return(Convert.ToInt64(resp.Data, CultureInfo.CurrentCulture)); }
/// <summary> /// Retrieve the amount of free disk space. /// </summary> /// <returns></returns> public virtual DataResponse GetFreeDiskSpace(ServerRequest request) { return(server.GetFreeDiskSpace(request)); }