Click or drag to resize
HardDiskVolumeSerialIdentifierAlgorithmGetIdentifiers Method (String)
Generates a generic list of HardDiskVolumeSerialIdentifier objects. (No additional filtering is applied to specified drives.)

Namespace: com.softwarekey.Client.Licensing
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntax
public List<SystemIdentifier> GetIdentifiers(
	string[] drives
)

Parameters

drives
Type: SystemString
The array of drives, for each of which a HardDiskVolumeSerialIdentifier will be generated.

Return Value

Type: ListSystemIdentifier
Returns a generic list of HardDiskVolumeSerialIdentifier objects.
Remarks

The list of HardDiskVolumeSerialIdentifier objects contains an identifier for each specified drive letter.

Caution note Caution

The volume format serial is generated when a partition is formatted, which means you should be mindful of the following possibilities when considering use of this algorithm:

  • The volume format serial is generated for a given partition. A fixed drive may contain multiple partitions, so this does not directly identify a physical drive. Partitions may be duplicated onto other computers via system imaging tools such as Norton Ghost, which may result in this information staying the same, even on dissimilar hardware.
  • Formatting a drive or partition will result in a new volume format serial being generated.
  • If the software is running in a virtual machine guest environment, it may be possible for that environment to be replicated and run in multiple copies. This would result in this information remaining the same across all copies of a given guest environment. The VirtualMachineValidation class (not available in PLUSManaged for .NET Standard) can help detect this kind of environment.
See Also