[ 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# |
|---|
[ObsoleteAttribute("This property will be removed in a future version. Consider changing to GetValue2().")] public byte[] Value2 { get; } |
| Visual Basic (Declaration) |
|---|
<ObsoleteAttribute("This property will be removed in a future version. Consider changing to GetValue2().")> _ Public ReadOnly Property Value2 As Byte() |
| Visual C++ |
|---|
[ObsoleteAttribute(L"This property will be removed in a future version. Consider changing to GetValue2().")] public: property array<unsigned char>^ Value2 { array<unsigned char>^ get (); } |
Remarks
This property 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.