In VB.Net, you need to write
ServicePointManager.ServerCertificateValidationCallback = AddressOf AcceptAllCertifications
More Related Contents:
- For Each Loop in Visual Basic: IndexOutOfRangeException [closed]
- What do Option Strict and Option Explicit do?
- Clean up Excel Interop Objects with IDisposable
- “There is already an open DataReader…” Reuse or Dispose DB Connections?
- Using related data stored in a 2 dimensional array
- How do you parse an HTML in vb.net
- The proper way to dispose Excel com object using VB.NET?
- Searching values via a datagridview
- Getting the path of the current assembly
- How can I make a single event handler handle ALL Button.Click events?
- How do I create an event handler for a programmatically created object in VB.NET?
- How do I shuffle and deal cards one at a time to players?
- BitmapImage in WPF does lock file
- Does End Using close an open SQL Connection
- Analyze colors of an Image
- Deserialize using JSON.net
- Cause this VB6-like smell, which VB.NET allows, to error instead: WinFormType.InstanceProp=Value [DISABLE My.Forms]
- .Net Framework 4.6.1 not defaulting to TLS 1.2
- Pass Command Line to first instance of a Single Instance App
- Sorting a Data Table
- Start a Task in the Form Shown event
- Form’s TransparencyKey leaves ghastly colored edging [closed]
- VB.NET: impossible to use Extension method on System.Object instance
- How to find the main() entry point in a VB.Net winforms app?
- How do I find out which control has focus in .NET Windows Forms?
- How do I fill an empty textbox with default text?
- Why doesn’t doubleclick event fire after mouseDown event on same element fires?
- Are nested Try/Catch blocks a bad idea?
- Shadows vs Overloads in VB.NET
- ‘Shadows’ vs. ‘Overrides’ in VB.NET