Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks
WebException was unhandled:
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Imports System.Net Imports System.IO Module Module1 Sub Main() Dim request As WebRequest = WebRequest.Create("https://192.168.1.7/log/display.php") request.Credentials = New System.Net.NetworkCredential("tcross", "qwertyuiop") Dim response As WebResponse = request.GetResponse() Console.WriteLine(CType(response, HttpWebResponse).StatusDescription) Dim dataStream As Stream = response.GetResponseStream() Dim reader As New StreamReader(dataStream) Dim responseFromServer As String = reader.ReadToEnd() Console.WriteLine(responseFromServer) reader.Close() response.Close() End Sub End Module
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.