add general crc generate into .net lib