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
r ( SecurityProtocolType:Tls, SecurityProtocolType:Tls11 ). assign enumHelper2 = Progress.Util.EnumHelper
r ( 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...
Continue reading...