摘要: json配置文件: //IP白名单 "HostValid": [ "192.168.1.1", "127.0.0.1" ] 读取数组配置: //读取白名单数组配置 string[] IpArray = (string[])Configuration.GetSection("HostValid").G 阅读全文
posted @ 2020-12-14 11:31 Jackie Hao 阅读(1918) 评论(0) 推荐(0) 编辑