McGod Posted June 3, 2007 Share Posted June 3, 2007 This requires a UDF and a .dll (Compinfo and MD5Hash.dll).This generates a hash that is unique to each computer, good for if you want to release your program to certain people without it getting leaked._GenHHash ()Generates a hash of your computer info._CompareHHash($hash)Compares a hash against your own.Example.au3HHash.au3You can use it to compare the hash against a list of your own using TCP functions etc.. [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u] Link to comment Share on other sites More sharing options...
luzif3r Posted February 11, 2008 Share Posted February 11, 2008 I noticed nobody replied yet and want to thank you for this great function. Link to comment Share on other sites More sharing options...
newbiescripter Posted February 15, 2008 Share Posted February 15, 2008 Hello Chip Thanks for this great Hash Generator It works, but when I try run it from scite it gives me this error: >"C:\Programmer\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "C:\Documents and Settings\FARCRY\Skrivebord\Log læsning RNG\Udvikling\HASH computer ID\Kopi af Example.au3" /autoit3dir "C:\Programmer\AutoIt3\beta" /UserParams +>00:41:40 Starting AutoIt3Wrapper v.1.9.5.6 Environment(Language:0406 Keyboard:00000406 OS:WIN_XP/Service Pack 2 CPU:X86) >Running AU3Check (1.54.13.0) from:C:\Programmer\AutoIt3\beta C:\Documents and Settings\FARCRY\Skrivebord\Log læsning RNG\Udvikling\HASH computer ID\HHash.au3(23,37) : ERROR: MD5Hash(): undefined function. Local $ret = MD5Hash ($Str, 2, True) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\FARCRY\Skrivebord\Log læsning RNG\Udvikling\HASH computer ID\Kopi af Example.au3 - 1 error(s), 0 warning(s) !>00:41:40 AU3Check ended.rc:2 >Exit code: 0 Time: 2.526 When I press continue anyway it works fine, but how do I get rid of this little error ? I guess it's something about the $ret as the error says, but I can't se how to define the function? Can you help me with that? is it because I'm using the new beta of AutoIt ? Regards Link to comment Share on other sites More sharing options...
Uten Posted February 16, 2008 Share Posted February 16, 2008 Just a hunch. MD5Hash() is probably a function, in the hash dll, using AutoIt's plugin interface.Use #AutoIt3Wraper_PlugIn_Funcs= MD5Hash() At the top of the script file. (Could be slightly different syntax, used to be #Compiler_PlugIn_Funcs. I don't have the latest Scite4Autoit3 installed. The syntax is in the help file for the SciTe installation).Hope this helps.. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
newbiescripter Posted February 16, 2008 Share Posted February 16, 2008 Thanks you were right I added: #AutoIt3Wrapper_PlugIn_Funcs = MD5Hash In the top of the HHash.au3 and it works Link to comment Share on other sites More sharing options...
Chika95 Posted May 16, 2008 Share Posted May 16, 2008 Thanks so much, this is exactly what I am looking for! Link to comment Share on other sites More sharing options...
vaughner Posted May 29, 2009 Share Posted May 29, 2009 Its been dead for awhile, but thanks for the script. Just what I was looking for. Please click me if you have a minute! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now