How to Center Cursor using Unity 5

Since lockCursor has been deprecated, how do you center the cursor using Unity 5?

Cursor.lockState = CursorLockMode.Locked;