This is experimental documentation.
Gets the "Private" or "Value 2" value of the CD key.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("This property will be removed in a future version. Consider changing to GetValue2().")] public byte[] Value2 { get; }
<ObsoleteAttribute("This property will be removed in a future version. Consider changing to GetValue2().")> _ Public ReadOnly Property Value2 As Byte() Get
[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.
Assembly: Asgard5Library (Module: Asgard5Library)