How do I obtain the characterindex that the cursor is currently pointing at in a richTextBox.

When there is only a cursor the SelectionLength will be 0 and the SelectionStart is the cursor position.
Use richTextBox1.SelectionStart property.