Reference Library
VerifyServerProof Method (serverProof)
NamespacesMBNCSUtilNLSVerifyServerProof(array<Byte>[]()[][])
Verifies that the server's proof value matches the value calculated by the client.
Declaration Syntax
C#Visual BasicVisual C++
public bool VerifyServerProof(
	byte[] serverProof
)
Public Function VerifyServerProof ( _
	serverProof As Byte() _
) As Boolean
public:
bool VerifyServerProof(
	array<unsigned char>^ serverProof
)
Parameters
serverProof (array<Byte>[]()[][])
The 20-byte server proof.
Return Value
True if the server proof is valid; otherwise false.
Remarks
This method should be called after the LoginProof method.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the server proof value is not exactly 20 bytes.
InvalidOperationExceptionThrown if the object has not yet been initialized.

Assembly: Asgard5Library (Module: Asgard5Library)