Reference Library
CdKey Class
NamespacesMBNCSUtilCdKey
Provides utilities for decoding and otherwise validating CD keys of Blizzard products. This class cannot be inherited.
Declaration Syntax
C#Visual BasicVisual C++
public sealed class CdKey
Public NotInheritable Class CdKey
public ref class CdKey sealed
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CdKey(String)
Creates a CD key decoder for the specified key.

CreateDecoder(String)
Creates a CD key decoder for the specified key.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHash(Int32, Int32)
Computes the 20-byte hash value of the CD key.

GetHash(UInt32, UInt32)
Computes the 20-byte hash value of the CD key. This method is not CLS-compliant.

GetHashCode()()()()
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
GetValue2()()()()
Gets the "Private" or "Value 2" value of the CD key.

IsValid
Gets whether or not the CD key is valid.

Key
Gets the CD key this object is processing.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Product
Gets the product value encoded in the CD key.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Value1
Gets the "Public" or "Value 1" value of the CD key.

Value2 Obsolete.
Gets the "Private" or "Value 2" value of the CD key.

Thread Safety
This type is safe for multithreaded operations.
Inheritance Hierarchy
Object
CdKey

Assembly: Asgard5Library (Module: Asgard5Library)