@aaz Upgrade your .NET framework to 4.6 for TLS 1.2 support and add this line before the login code.
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
You’ll also need to supply email of the NS account, password and NS account number for the login.