我需要从任何网址中提取确切的域名.
例如,
网址:http://www.google.com - >域名:google.com
网址:http://www.google.co.uk/path1/path2 - >域名:google.co.uk
怎样才能在c#中实现?是否有完整的TLD列表或该任务的解析器?
c# dns uri tld
我想将.NET应用程序限制为仅接受已知证书。那么如何在.NET上强制执行证书固定?最佳做法是什么?可以验证指纹吗?
.net ssl application-security
.net ×1
application-security ×1
c# ×1
dns ×1
ssl ×1
tld ×1
uri ×1