コード例 #1
0
        /// <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));
        }
コード例 #2
0
 /// <summary>
 /// Retrieve the amount of free disk space.
 /// </summary>
 /// <returns></returns>
 public virtual DataResponse GetFreeDiskSpace(ServerRequest request)
 {
     return(server.GetFreeDiskSpace(request));
 }