There's a forum posting for the sample code:

http://channel9.msdn.com/ShowPost.aspx?PostID=289461