System.IO.FileStream.GetDefaultIsAsync C# (CSharp) Метод

GetDefaultIsAsync() приватный статический Метод

private static GetDefaultIsAsync ( System.IO.SafeFileHandle handle ) : bool
handle System.IO.SafeFileHandle
Результат bool
        private static bool GetDefaultIsAsync(SafeFileHandle handle)
        {
            // This will eventually get more complicated as we can actually check the underlying handle type on Windows
            return handle.IsAsync.HasValue ? handle.IsAsync.Value : false;
        }