[ the jinxbot project :: home | community forum | bn# | controls | mbncsutil | get the source ]
Performs the Lockdown revision check.

Namespace:  MBNCSUtil
Assembly:  MBNCSUtil (in MBNCSUtil.dll) Version: 2.1.7.22 (2.1.7.22)

Syntax

C#
public static byte[] DoLockdownCheckRevision(
	byte[] valueString,
	string[] gameFiles,
	string lockdownFile,
	string imageFile,
	ref int version,
	ref int checksum
)
Visual Basic (Declaration)
Public Shared Function DoLockdownCheckRevision ( _
	valueString As Byte(), _
	gameFiles As String(), _
	lockdownFile As String, _
	imageFile As String, _
	ByRef version As Integer, _
	ByRef checksum As Integer _
) As Byte()
Visual C++
public:
static array<unsigned char>^ DoLockdownCheckRevision(
	array<unsigned char>^ valueString, 
	array<String^>^ gameFiles, 
	String^ lockdownFile, 
	String^ imageFile, 
	int% version, 
	int% checksum
)

Parameters

valueString
Type: array< System..::.Byte >[]()[]
The value string parameter, not including the null terminator.
gameFiles
Type: array< System..::.String >[]()[]
The three game files. This parameter must be exactly three files long.
lockdownFile
Type: System..::.String
The path to the lockdown file requested.
imageFile
Type: System..::.String
The path to the screen dump.
version
Type: System..::.Int32 %
[return value] The EXE version.
checksum
Type: System..::.Int32 %
[return value] The EXE hash.

Return Value

The "EXE Information" data. This value should be null-terminated when being inserted into the authorization packet.

Remarks

The file list for this is product-specific and order-specific:

ProductFile list
Starcraft; Starcraft: Brood War
  • Starcraft.exe
  • storm.dll
  • battle.snp
Warcraft II: Battle.net Edition
  • Warcraft II BNE.exe
  • storm.dll
  • battle.snp

See Also