internal static extern bool IsStreamWriterBufferedDataLostEnabled(); [MethodImpl(MethodImplOptions.InternalCall)]