public void CopyScreen(IntPtr screenBuffer, UInt64 size) { lock (_lockObject) { _coreCLR?.CopyScreen(screenBuffer, size); } }