MyFoo foo = Activator.GetObject(“http://. . .”); dictionary = ChannelServices.GetChannelSinkProperties(foo); dictionary["UserName"] = “joe”; dictionary["Password"] = “secret”; dictionary["Domain"] = “Sales”;
To be supplied
To be supplied
To be supplied
To be supplied
Activator.GetObject Example
MyFoo foo = Activator.GetObject(“https://. . .”);
Configuration Example
Assembly#StockNet#Trader#StockQuote=https://localhost/TraderSecure/StockQuote.soap
ASP+ HttpRequest.IsSecureConnection in the HttpContext returns a boolean that indicates whether the Http connection is secure i.e. HTTPS.