[progress Communities] [progress Openedge Abl] Forum Post: Re: Openedge 11.3.1: Changing...

  • Thread starter Thread starter 302218
  • Start date Start date
Status
Not open for further replies.
3

302218

Guest
Thanks to all that have answered. This is the code I've come up with and works without a fuzz: define variable enumHelper1 as class System.Enum no-undo. define variable enumHelper2 as class System.Enum no-undo. assign enumHelper1 = Progress.Util.EnumHelper:or ( SecurityProtocolType:Tls, SecurityProtocolType:Tls11 ). assign enumHelper2 = Progress.Util.EnumHelper:or ( cast ( enumHelper1, SecurityProtocolType ), SecurityProtocolType:Tls12 ). assign ServicePointManager:SecurityProtocol = cast ( enumHelper2, SecurityProtocolType ). Of course this works only with .NET 4.5 ( TLS 1.2 support ) ... Thanks!

Continue reading...
 
Status
Not open for further replies.
Back
Top