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