![]() |
|
[RELEASE]Checksum.dll C# - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Release Zone (https://lckb.dev/forum/forumdisplay.php?fid=190) +---- Forum: Episode 4 Releases (https://lckb.dev/forum/forumdisplay.php?fid=156) +----- Forum: Tools (https://lckb.dev/forum/forumdisplay.php?fid=175) +----- Thread: [RELEASE]Checksum.dll C# (/showthread.php?tid=2518) |
- filix_93 - 01-19-2015 Dll that may be usefull for c# developers . It Include Some Function about the Checksum of client files 2015. I did it for a friend and now releasing , maybe someone will need it , it's open source dll . Download: 2 [/hide] How To Use : right click on your project References -> Add Reference... -> Browse and find Checksum.dll path , double click on dll and it will be imported , than check it and press OK . If all goes fine you should see Checksum in your References . Include it by : using Checksum; now you have access to my .dll functions , list below : int Checksum.DoWork.CalculateSum(string filepath, int filesize); //Will Calculate File checksum and return it as int. int Checksum.DoWork.GetFileSize(string filepath); //Will Calculate File Size and return it as int. int Checksum.DoWork.GetCurrentSum(string filepath); //Will Calculate current checksum of the file and return it as int. bool Checksum.DoWork.CheckSumExist(string filepath); //Will Check if File Have checksum or not , If file have checksum will return true else will return fail. bool Checksum.DoWork.EncodeFile(string filepath); //Will apply the Checksum to the file, if all go fine it will return true else it will return false . Example of usage : Checksum.DoWork.EncodeFile("itemname_usa.lod"); - Sutz - 01-20-2015 http://grabilla.com/05114-7eb1251f-5088-4bf7-bd0c-dd83970683e2.png +1 feedback left 2 Mirror: 2 |