I want to save the SN and Mac address in one excel file, this file need to be protected, I need to get the MAC address from the SN when I scan the unit, do you have this kind of function? How can I implement it?
You need to explain a bit more. Do you want the Excel file to generate a MAC and then save it in there? Or do you really want to somehow base it on the serial number? I think the first method would be better and I use a SQL Server database and a stored procedure to do that.