You can confirm the same using a take-home assignment and a code review together with the candidate. Or even with an on-site pair programming. Neither of those require whiteboards.
if done right, whiteboarding should be almost the same as pair programming -- an iterative dialogue