![]() Option 2 : This can be done by changing some configuration setting in config file. Note : This setting will apply at registry level and is applicable to all application present on that machine and if you want to restrict to only single application then you can use Option 2 ![]() If you cannot deploy new code and you want to resolve the issue with the same code which is present in the production, then you have two options. ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072 //. Net Framework 4.0 has support for client operating systems such as Windows XP SP3 / Vista SP1 or later / 7/7 SP1 (x86 and 圆4). You can add the below line of code before making the API call, ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 //. net framework 4.5 or less, and you can easily deploy new code to the production then you can use of below solution.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |