Пример #1
0
        /// <summary>
        /// Close log file handle
        /// </summary>
        /// <returns>true if no file to close or close operation successful, false otherwise</returns>
        public bool CloseLogFile()
        {
            if (_logFileHandle == IntPtr.Zero)
            {
                return(true);
            }

            return(MarshalUtils.Close(_logFileHandle));
        }