Create an instance of the CRC32 class, specifying the polynomial and whether to reverse data bits or not.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim polynomial As Integer
Dim reverseBits As Boolean
Dim instance As New CRC32(polynomial, reverseBits) |
Parameters
- polynomial
- The polynomial to use for the CRC, expressed in the reversed (LSB) format: the highest ordered bit in the polynomial value is the coefficient of the 0th power; the second-highest order bit is the coefficient of the 1 power, and so on. Expressed this way, the polynomial for the CRC-32C used in IEEE 802.3, is 0xEDB88320.
- reverseBits
- specify true if the instance should reverse data bits.
Remarks
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also