I was also facing the same problem. Later i come to know after lots of analysis that Paypal has upgraded its TLS protocols(as per
Link ).
Now for .NET 4.5 and higher, we can set the http webrequest protocol to TLS 1.2 to higher but .NET 4 or lower doesn't support TLS above TLS1. Hence the fix is directly assign the port for TLS1.2
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
ServicePointManager.DefaultConnectionLimit = 9999;
OAuthTokenCredential tokenCredential = new OAuthTokenCredential(ConfigurationManager.AppSettings["PayPalClientID"].ToString(), ConfigurationManager.AppSettings["PayPalClientSecret"].ToString());
string accessToken = tokenCredential.GetAccessToken();