0

Create project pocket use System 3.5.0.0 and add security protocol

Error: The type or namespace name 'SslProtocols' could not be found (are you missing a using directive or an assembly reference?)

enter image description here

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
Josue To
  • 21
  • 1
  • 1
    The error suggests that you might be missing some using directives. Specifically `System.Security.Authentication` and `System.Net` – Christian Hagelid May 29 '22 at 08:20
  • Did you add [tag:pocket] because you're targeting Pocket pc? I do have to warn you that visual studio 2008, .net framework 3.5 and Pocket pc are no longer supported. – jessehouwing May 29 '22 at 08:39
  • System.Security.Authentication directives do not exist, System.net has already been added – Josue To May 29 '22 at 08:41
  • @jessehouwing It is the project that they gave me to test, I must make an hhtpWebRequest and the certificate is giving me problems – Josue To May 29 '22 at 08:45
  • Is there any way to perform the WebRequest? – Josue To May 29 '22 at 08:46
  • See: https://stackoverflow.com/a/51346252/736079 – jessehouwing May 29 '22 at 13:59
  • See: https://support.microsoft.com/en-us/topic/support-for-tls-system-default-versions-included-in-the-net-framework-2-0-sp2-on-windows-vista-sp2-and-server-2008-sp2-1001add1-103f-0a22-e807-00ee2fc7c75d – jessehouwing May 30 '22 at 11:40

0 Answers0