This is experimental documentation.
Gets the "Private" or "Value 2" value of the CD key.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public byte[] GetValue2()
Public Function GetValue2 As Byte()
public: array<unsigned char>^ GetValue2()
Remarks
This method returns null (Nothing in Visual Basic) if the CD key is not valid. To check validity, use the IsValid property.
For Starcraft, Warcraft II: Battle.net Edition, Diablo II, or Lord of Destruction CD keys, this value is a 4-byte array. It can be converted to an integer value with the BitConverter class.
For Warcraft III: The Reign of Chaos and The Frozen Throne CD keys, this value is a 10-byte array.
Assembly: Asgard5Library (Module: Asgard5Library)