[ the jinxbot project :: home | community forum | bn# | controls | mbncsutil | get the source ]
Assembly: MBNCSUtil (in MBNCSUtil.dll) Version: 2.1.7.22 (2.1.7.22)
Gets the "Private" or "Value 2" value of the CD key.
Namespace:
MBNCSUtilAssembly: MBNCSUtil (in MBNCSUtil.dll) Version: 2.1.7.22 (2.1.7.22)
Syntax
| C# |
|---|
public byte[] GetValue2() |
| Visual Basic (Declaration) |
|---|
Public Function GetValue2 As Byte() |
| Visual C++ |
|---|
public: array<unsigned char>^ GetValue2() |
Return Value
[Missing <returns> documentation for M:MBNCSUtil.CdKey.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.