Utilities I use in some of my .netmf projects