IdeaBlade DevForce 2010 Help Reference
ComputeCrc32 Method
See Also  Send Feedback
IdeaBlade.Core Assembly > Ionic.Crc Namespace > CRC32 Class : ComputeCrc32 Method



W
The word to start with.
B
The byte to combine it with.
Get the CRC32 for the given (word,byte) combo. This is a computation defined by PKzip for PKZIP 2.0 (weak) encryption.

Syntax

Visual Basic (Declaration) 
Public Function ComputeCrc32( _
   ByVal W As Integer, _
   ByVal B As Byte _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As CRC32
Dim W As Integer
Dim B As Byte
Dim value As Integer
 
value = instance.ComputeCrc32(W, B)
C# 
public int ComputeCrc32( 
   int W,
   byte B
)
C++/CLI 
public:
int ComputeCrc32( 
   int W,
   byte B
) 

Parameters

W
The word to start with.
B
The byte to combine it with.

Return Value

The CRC-ized result.

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

© 2013 All Rights Reserved.