Hello Experts,
I'm building a javaFX POS application.
The business is a franchise with lots of branches ... to determine which sales belongs to which branch i used to link each user to a specific branch.
So on user login i get his branch from DB and then store his sales under that branch.
But now the client is telling me that cashiers might change frequently ... and one cashier might work in 2 branches at the same time (different shifts).
So i think the only way to do this is to instead of determining the branch from the user ... i should determine it from the machine (PC) in that branch.
Meaning that i'll define the machines in the branch in the database under each branch.
But to do this i need a way to get the machine hardware information like (CPU or Motherboard serial number)
So my first question is how can i get this information in java?
And second are those values (CPU or Motherboard serial number) unique?
I searched on google about this but i found either a third party API called OSHI that i couldn't get any information about how to use it ... or using some VB scripts whichi don't think is a good idea.
Thank you for your time
Gado