public bool WaitForBytesWritten() { return (bool) interceptor.Invoke("waitForBytesWritten", "waitForBytesWritten()", typeof(bool)); }