张赐荣——一位视障程序员。
赐荣小站: www.prc.cx

張賜榮

张赐荣的技术博客

博客园 首页 新随笔 联系 订阅 管理

2022年2月20日 #

摘要: public static int[] GetRandNums (int seed,int total,int minimum, int maximum) { if (Math.Abs(maximum - minimum)+1 < total) { return (null); } int num 阅读全文
posted @ 2022-02-20 21:36 张赐荣 阅读(151) 评论(0) 推荐(0) 编辑

摘要: C#递归法便利某个目录下的所有子文件夹和文件 using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Runtime.InteropServices;using Syst 阅读全文
posted @ 2022-02-20 08:43 张赐荣 阅读(228) 评论(0) 推荐(0) 编辑

摘要: 为了保证网址的正常访问,域名解析协议(DNS)其实在背后做出了很多努力,本文将透彻讲解 DNS 协议的原理,了解我们每天都在接触的网址到底是怎么工作的。 什么是 DNS 协议 在学习 DNS 协议之前,我们先区分一下域名和 IP 地址这两个概念: (1) IP 地址:一长串能够唯一地标记网络上的计算 阅读全文
posted @ 2022-02-20 07:45 张赐荣 阅读(534) 评论(0) 推荐(0) 编辑

摘要: "GetSystemPowerStatus" 此函数检索系统的电源状态。 该状态指示系统是否运行在交流或直流电源、是否电池正在充电时,电池还有多少寿命。 函数原型 BOOL WINAPI GetSystemPowerStatus(__out LPSYSTEM_POWER_STATUS lpSyste 阅读全文
posted @ 2022-02-20 07:40 张赐荣 阅读(623) 评论(0) 推荐(0) 编辑

感谢访问张赐荣的技术分享博客!
博客地址:https://cnblogs.com/netlog/
知乎主页:https://www.zhihu.com/people/tzujung-chang
个人网站:https://prc.cx/