JUCE
Static Public Member Functions | List of all members
OnlineUnlockStatus::MachineIDUtilities Struct Reference

This class contains some utility functions that might help with machine ID generation. More...

Static Public Member Functions

static char getPlatformPrefix ()
 Returns a character that represents the current OS. More...
 
static String getEncodedIDString (const String &inputString)
 Returns an encoded hash string from the given input string, prefixing it with a letter to represent the current OS type. More...
 
static bool addFileIDToList (StringArray &result, const File &file)
 Utility function that you may want to use in your machine-ID generation code. More...
 
static void addMACAddressesToList (StringArray &result)
 Utility function that you may want to use in your machine-ID generation code. More...
 

Detailed Description

This class contains some utility functions that might help with machine ID generation.

Member Function Documentation

static char OnlineUnlockStatus::MachineIDUtilities::getPlatformPrefix ( )
static

Returns a character that represents the current OS.

E.g. 'M' for Mac, 'W' for windows, etc

static String OnlineUnlockStatus::MachineIDUtilities::getEncodedIDString ( const String inputString)
static

Returns an encoded hash string from the given input string, prefixing it with a letter to represent the current OS type.

static bool OnlineUnlockStatus::MachineIDUtilities::addFileIDToList ( StringArray result,
const File file 
)
static

Utility function that you may want to use in your machine-ID generation code.

This adds an ID string to the given array which is a hash of the filesystem ID of the given file.

static void OnlineUnlockStatus::MachineIDUtilities::addMACAddressesToList ( StringArray result)
static

Utility function that you may want to use in your machine-ID generation code.

This adds some ID strings to the given array which represent each MAC address of the machine.


The documentation for this struct was generated from the following file: