随笔 - 216  文章 - 0 评论 - 2 阅读 - 24万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

03 2021 档案
C# 获取本机内网 IPv4 地址
摘要:public static string GetLocalIp() { string hostname = Dns.GetHostName(); IPHostEntry localhost = Dns.GetHostEntry(hostname); if (localhost != null) { 阅读全文
posted @ 2021-03-10 15:47 青叶煮酒 阅读(236) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示