Function lcxx::experimental::identifiers::verify(hw_ident_strat const, std::string_view const)¶
Defined in File hardware.cpp
Function Documentation¶
- 
auto lcxx::experimental::identifiers::verify(hw_ident_strat const strategy, std::string_view const hash) -> bool¶
 verifies a hardware identification hash against the hardware this software is run on with respect to the identification strategy chosen
- Parameters:
 strategy – the strategy chosen to identify the hardware. Must match the strategy used to generate the hash
hash – the hash produced by a call to
hardware()
- Returns:
 true if the current hardware matches the one used to generate the hash
- Returns:
 false otherwise