A theoretical study on the mechanism, regiochemistry, and stereochemistry of hydrosilylation catalyzed by cationic ruthenium complexes.