Jump to content
Sign in to follow this  
rickybobby

Where/how to store numerical data?

Recommended Posts

So I'm working on creating a script that stores a removable device's serial # upon insertion. I already have the easy part down (getting the removable drive and getting the device serial). But now I'm not sure how to store that info(device serial), I could put it in a plaintext file, but the data needs to be hidden from the user as I don't want un-authorized users modifying it. I'm not sure if a plaintext file would be the best option or is there some better option to store plaintext numerical data?

Share this post


Link to post
Share on other sites

I was thinking Regwrite as a possibility too, just seeing if there's other options. 

 

IMO I think RegWrite is the easiest/fastest approach for your case, just scramble the device's serial numbers with RegWrite and have a code in your script to reassemble them.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...