I am updating Security protocols to my existing 3.5 .net framework application to work my payment gateways smooth. I have added following code
System.Net
Also check using System.Security.Authentication is at the top of the file