摘要:
前台: <!--上传文件弹窗--> <div class="layui-upload " style="display: none" id="UploadFilebody"> <button type="button" style="margin-top: 10px;margin-left: 10p 阅读全文
摘要:
public class StringToHex { //1.如何将十进制数的字符串转化成十六进制数的字符串 private void Write() { //十进制转二进制 Console.WriteLine("十进制166的二进制表示: " + Convert.ToString(166, 2)) 阅读全文
摘要:
using (HashAlgorithm hash = HashAlgorithm.Create()) { using (FileStream file1 = new FileStream(文件路径, FileMode.Open)) { byte[] hashByte1 = hash.Compute 阅读全文