Quantcast
Channel: iOS, Mac, tvOS, watchOS Programming
Viewing all articles
Browse latest Browse all 50

MD5 Self sum

$
0
0
Hello everyone,

Sometimes you need to get the md5 amount of the mini soft when running the software when you attach this mini soft as a plugin. For the windows solution, I have this code:

Code:
LPTSTR strDLLPath1 = new TCHAR[_MAX_PATH]; ::GetModuleFileName((HINSTANCE)&__ImageBase, strDLLPath1, _MAX_PATH); 
ss << “{\n “sum_artifact”: “” << md5.digestFile(strDLLPath1) << “”\n}”;

Is there a similar mac (means GetModuleFileName() - <= 10.9 ) for all macOS versions or do ypu...

Read more

Viewing all articles
Browse latest Browse all 50

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>