public MainWindow() { InitializeComponent(); c16 = new CRC16(); c162 = new CRC16CCITT( CRC16CCITT.InitialCrcValue.Zeros); tCRC16Poly.Text = "0x" + c16.poly.ToString("X"); tCRC162Poly.Text = "0x"+c162.poly.ToString("X"); tCRC162IV.Text = "0x"+c162.initialValue.ToString("X"); }
public MainWindow() { InitializeComponent(); c16 = new CRC16(); c162 = new CRC16CCITT(CRC16CCITT.InitialCrcValue.Zeros); tCRC16Poly.Text = "0x" + c16.poly.ToString("X"); tCRC162Poly.Text = "0x" + c162.poly.ToString("X"); tCRC162IV.Text = "0x" + c162.initialValue.ToString("X"); }