Is it possible to retrieve the state of any of the random number generator?

I would like to save it, in case the program crashes, such that on the next execution it can restart wherever it left off.

Thanks,

    Joseph

--
http://www.cs.nyu.edu/~turian/