Check texture of the face with raycast

How do you check what texture is applied on a certain face using a raycast?

The RaycastHit structure that you pass to many versions of the Raycast() call returns a textureCoord:

http://docs.unity3d.com/Documentation/ScriptReference/RaycastHit-textureCoord.html

Assuming you know the uvs of each side, you can use the textureCoord to compare with the uvs to find the side.