我正在尝试使用Net.WebRequest和Net.WebResponse连接到某个站点并获取SSL证书的到期日期。我查看请求和响应的所有属性,但无法找到此信息。有人可以帮忙吗?
' Initialize the WebRequest.
Dim myRequest As Net.WebRequest = Net.WebRequest.Create("https://testsite.com")
' Return the response.
Dim myResponse As Net.WebResponse = myRequest.GetResponse()
有没有办法为此使用WebRequest的服务点?