Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 9 of 9
  1. #1
    Join Date
    May 2006
    Posts
    5,380

    FreePlugin: HardwareFingerprintDLL

    Hi Guys,

    heres a small dll that can get a unique identifier for the target system,

    this is useful for those of you that want to secure your apps with serial numbers and such,

    when i get time i might develop this in to a full scale registration system for ams user apps.....but it wont be free


    this dll is simple to use, call the dll with the below code (no arguments are needed)
    Code:
    result = DLL.CallFunction("AutoPlay\\Docs\\HardwareFingerprintDLL.dll", "GetHardwareFingerprint", "", DLL_RETURN_TYPE_STRING, DLL_CALL_STDCALL);
    and it will return a string EG: {3a539840-6a70-11db-887c-806e6f6e6963} (Identifier for my system)

    Have Fun
    Last edited by RizlaUK; 02-01-2009 at 11:35 AM.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  2. #2
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Thanks Dean, very nice. Just one question. Will the fingerprint change if the user reformats their hard drive?
    Dermot

    I am so out of here

  3. #3
    Join Date
    May 2006
    Posts
    5,380
    np Dermot,

    The number only changes if any hardware is changed, formating a hdd should not change the results, but a new hdd/soundcard/ram will change the results

    I hit a bug with this, testing on my laptop, the GUID was different when docked/undocked (as theres more hardware when docked so a diff guid) so i added some arguments to get the current hardware profile name to, with some ams trickery that should cover any unexpected results.

    heres a updated example apz
    Code:
    -- arguments: 0 = GUID, 1 = Profile name
    -- returns: "0" = error, else guid or profile name is returned
    
    GUID = DLL.CallFunction("AutoPlay\\Docs\\HardwareFingerprintDLL.dll", "GetHardwareFingerprint", 0, DLL_RETURN_TYPE_STRING, DLL_CALL_STDCALL);
    pName = DLL.CallFunction("AutoPlay\\Docs\\HardwareFingerprintDLL.dll", "GetHardwareFingerprint", 1, DLL_RETURN_TYPE_STRING, DLL_CALL_STDCALL);
    
    if GUID ~= "0" and pName ~= "0" then
    	Dialog.Message("Test", "The global unique system identifier (GUID) for this system is\r\n\r\n"..GUID.."\r\nProfile: "..pName, MB_OK, MB_ICONNONE, MB_DEFBUTTON1)
    end
    Last edited by RizlaUK; 02-01-2009 at 11:35 AM.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  4. #4
    Join Date
    Jul 2007
    Location
    Quezon City, Philippines
    Posts
    46

    how can i determine

    i want to determine the hardwarefingerprint for each drive how can i do that? for example: i have two separate hard disk drives in my pc? thx in advance

  5. #5
    Join Date
    Oct 2006
    Posts
    345
    @macko - try interogating the drive for it's serial number and comparing that against the known serial number

    @RizlaUK - thanks for this, i think it will come in handy, not for protection in the manner you are thinking, but by using it to identify your own pc during runtime of your project to allow extra options. Say for example i have an extra page in my project containing control options or debug tools, i can control that page's availability based on whether the project is running on my pc or not..... handy if you run protection on your project that restricts the user access to certain things ... in my case i close the temp folder as soon as it is opened in a small attempt to keep the curious out of the docs folder when running in web executable mode ! so with this i could easily disable that script

    EDIT: macko look here for more info

    http://www.indigorose.com/forums/showthread.php?t=21420
    Last edited by qwerty; 10-10-2007 at 02:48 AM. Reason: add link

  6. #6
    Join Date
    May 2006
    Posts
    5,380
    @macko, that is not possible with this dll, it retrieves a GUID (global unique identifier) that is present for the system, i am working of a dll to get the drive hardware serial but im having some issues with it........when its ready ill post it

    @qwerty, good idea, see i hadent thought of a use like that, i could use it myself for the very same thing (wich now uses a reg key)

    Glad you have a use for my dll
    Open your eyes to Narcissism, Don't let her destroy your life!!

  7. #7
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Thanks rizla another handy tool
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  8. #8
    Join Date
    Aug 2007
    Location
    Leon, Mexico.
    Posts
    406

    Any one can tellme where to get this dll

    It will be great to have... this dll

    i dont see the download link...

  9. #9
    Join Date
    Oct 2006
    Posts
    345
    i have this somewhere, unfortunately it's on one of the storage drives in my main pc, which died on me the other day, it'll be a few days before i get the bits to rebuild, and i'm away all of next week, so drop me a pm, and when i have things back up and running i'll upload it for you.

    Good reminder that i'll need to update my apps that use this after my rebuild

Similar Threads

  1. FreePlugin: Splash Image Transition Engine DLL
    By RizlaUK in forum AutoPlay Media Studio 6.0
    Replies: 43
    Last Post: 03-26-2008, 08:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts