Reference Library
ValidateServerSignature Method (serverSignature, ipAddress)
NamespacesMBNCSUtilNLSValidateServerSignature(array<Byte>[]()[][], array<Byte>[]()[][])
Validates a Warcraft III server signature.
Declaration Syntax
C#Visual BasicVisual C++
public static bool ValidateServerSignature(
	byte[] serverSignature,
	byte[] ipAddress
)
Public Shared Function ValidateServerSignature ( _
	serverSignature As Byte(), _
	ipAddress As Byte() _
) As Boolean
public:
static bool ValidateServerSignature(
	array<unsigned char>^ serverSignature, 
	array<unsigned char>^ ipAddress
)
Parameters
serverSignature (array<Byte>[]()[][])
The server signature from Battle.net's SID_AUTH_INFO message.
ipAddress (array<Byte>[]()[][])
The IPv4 address of the server currently connected-to.
Return Value
True if the signature matches; otherwise false.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the server signature is not exactly 128 bytes.

Assembly: Asgard5Library (Module: Asgard5Library)