Jump to content

  • Log In with Google      Sign In   
  • Create Account

gretty

Member Since 27 Dec 2009
Offline Last Active Sep 23 2014 12:51 AM

Posts I've Made

In Topic: Is the BIOS Serial Number Always Set, Constant & Reliable

19 August 2014 - 09:24 PM

Yes I think you're right. From what I've read many anti-piracy software applications do this - even Windows does this to verify a purchased version of Windows (they use 10 different hardware ids to produce a hash). The only problem is; if the user changes their hard drive, or wireless device, etc. the hash will change. So I'll need to be more forgiving and create a 'verification measure'. Hash bios UUID and hard drive serial, hash ethernet mac address and something else, and so on. If 4 out of 5 hashes match ( a 'verfication measure' of 4/5) then we have correctly identified the user.

 

Something along these lines appears to be a good enough compromise of security and legitimate hardware modifications.


In Topic: Is the BIOS Serial Number Always Set, Constant & Reliable

19 August 2014 - 09:10 PM

Mine prints out a serial no. Weird so many computers dont have this information filled out.

 

Microsoft Windows [Version 6.1.7601]
Copyright © 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Your_Awesomeness>wmic BIOS get SerialNumber
SerialNumber
YA017957H

 

 


In Topic: Is the BIOS Serial Number Always Set, Constant & Reliable

19 August 2014 - 07:32 PM

*Sigh* Well I guess that answers that just like the UUID, not all vendors fill out the serial number information. Back to the drawing board.


In Topic: Hash Distance & Angle To Produce Unique Value

21 July 2014 - 04:54 PM

Ok, after implementing the advice given to use Vector2's as keys I've got one last query/problem:

 

How should I go about handling angle wraparound?

 

For example; given the 2 points (DISTANCE, ANGLE):  A(100, 10) and B(100, 350). These 2 points are close by but will not be considered by operator comparision (<=, <, >=, >) to be close by.

 

Any ideas how I could handle this?


In Topic: Hash Distance & Angle To Produce Unique Value

21 July 2014 - 12:55 AM


you could just convert the distance + angle to an actual 2D point and go from there, it might be easier.

 

Wow, never though of that! A list of Vector2 where x = distance and y = angle may just work!! Thanks!

 

I can also do operator comparisions on Vector2's such as 'if v1 < v2' so that works nicely.


PARTNERS