Reference Library
DoLockdownCheckRevision Method (valueString, gameFiles, lockdownFile, imageFile, version, checksum)
NamespacesMBNCSUtilCheckRevisionDoLockdownCheckRevision(array<Byte>[]()[][], array<String>[]()[][], String, String, Int32%, Int32%)
Performs the Lockdown revision check.
Declaration Syntax
C#Visual BasicVisual C++
public static byte[] DoLockdownCheckRevision(
	byte[] valueString,
	string[] gameFiles,
	string lockdownFile,
	string imageFile,
	ref int version,
	ref int checksum
)
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()
public:
static array<unsigned char>^ DoLockdownCheckRevision(
	array<unsigned char>^ valueString, 
	array<String^>^ gameFiles, 
	String^ lockdownFile, 
	String^ imageFile, 
	int% version, 
	int% checksum
)
Parameters
valueString (array<Byte>[]()[][])
The value string parameter, not including the null terminator.
gameFiles (array<String>[]()[][])
The three game files. This parameter must be exactly three files long.
lockdownFile (String)
The path to the lockdown file requested.
imageFile (String)
The path to the screen dump.
version (Int32%)
[return value] The EXE version.
checksum (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

Assembly: Asgard5Library (Module: Asgard5Library)