SDK Software CRC Toolkit
CRC32String Method

      Example      


Description
Calculates a CRC32 checksum for an ANSI string.
Syntax
varCRC = CRCControlObject.CRC32String(Text, HexYN, XOrIt)

The CRC32String Method has the following parts:

Part Description
Text Required. The text string for which a CRC should be calculated. Must be at least 1 byte long.
HexYN Required. Boolean value. True if the CRC should be returned as a Hex string, False if it should be returned as a Long integer.
XorIt Required. Boolean value. True if the CRC should be complemented. Generally, you should probably set this to True.
Remarks
The string is passed through StrConv to convert it to ANSI format (since Visual Basic stores strings in Unicode). If you require a CRC for a Unicode string, it should be passed as a byte array to the CRC32Bytes method.


In order to view this documentation as it was intended you need to have scripting turned on.