This is experimental documentation.
Adds the account login proof (for SID_AUTH_ACCOUNTLOGONPROOF)
to the specified packet.

C# | Visual Basic | Visual C++ |
public int LoginProof( BncsPacket logonProofPacket, byte[] salt, byte[] serverKey )
Public Function LoginProof ( _ logonProofPacket As BncsPacket, _ salt As Byte(), _ serverKey As Byte() _ ) As Integer
public: int LoginProof( BncsPacket^ logonProofPacket, array<unsigned char>^ salt, array<unsigned char>^ serverKey )

- logonProofPacket (BncsPacket)
- The BNCS packet to which to add the account logon data.
- salt (array<Byte>[]()[][])
- The salt value, sent from the server in SID_AUTH_ACCOUNTLOGON.
- serverKey (array<Byte>[]()[][])
- The server key, sent from the server in SID_AUTH_ACCOUNTLOGON.

The total number of bytes written to the buffer.

This method should be called after the LoginAccount method.

Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown if
the salt or server key values are not exactly 32 bytes. |
InvalidOperationException | Thrown if the object has not
yet been initialized. |
Assembly: Asgard5Library (Module: Asgard5Library)