Click or drag to resize

HardwareID Class

This class provides you with computer hardware identification string, unique for each device.
Inheritance Hierarchy
SystemObject
  TreeksLicensingLibrary2HardwareID

Namespace:  TreeksLicensingLibrary2
Assembly:  TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (2.1.0.0)
Syntax
public class HardwareID

The HardwareID type exposes the following members.

Constructors
  NameDescription
Public methodHardwareID
Initializes a new instance of the HardwareID class
Top
Properties
  NameDescription
Public propertyActualHardwareID
Use this property to access the hardware ID of computer where this library actually running.
Public propertyStatic memberDefaultHardwareIDSalt
This property returns the TLL's default hardware ID salt
Public propertyEnableMoreDistinctMode
If enabled, hardware id is calucalted using components like HDD serial also, which are frequently replaced. It generates distinct IDs for 99,99% of devices.
Public propertyEnableTerminalServicesMode
If enabled, MAC addresses of installed network adapter and current username is used in HWID calculation.
Public propertyHardwareIDSalt
Property to set hardware ID salt.
Public propertyHDDSerialAlgorithmVersion
Determines which algorithm will be used for HDD serial number retrieval. 1 = standard algorithm (compatible with older versions of TLL) 2 = new algorithm (that prevents different serial retrieved under admin/user account on some devices)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetActualHardwareID
This function directly calculates machine's hardware ID using supplied salt.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns current computer hardware ID in string form
(Overrides ObjectToString.)
Top
Remarks
The hardware ID is calculated using information about motherboard, bios and CPU. It will persist reinstallation of Windows operating system.
See Also