Using WebProxy with Smart Assembly

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, melvyn.harbour, dom.smith

Using WebProxy with Smart Assembly

Postby saint168 » Wed Dec 11, 2013 10:08 pm

We use a webproxy to access the internet from our LAN and Smart Assembly is not able to report errors to the server using the proxy serer. The error we got is: (ERR 2001L The request failed with HTTP status. 407: Proxy Authentication Required).

Is there a place where we can fill in the authentication info so Smart Assembly can use the proxy server?
saint168
 
Posts: 10
Joined: Thu Nov 01, 2012 9:24 pm

Postby DanielRose » Thu Dec 12, 2013 9:41 am

If you are doing your own handling: There is a method SetProxy() on the UnhandledExceptionHandler.
DanielRose
 
Posts: 16
Joined: Fri Oct 30, 2009 9:29 am
Location: Aachen, Germany

Postby saint168 » Thu Dec 12, 2013 7:57 pm

Thank you, that's what I was looking for.
saint168
 
Posts: 10
Joined: Thu Nov 01, 2012 9:24 pm

Postby saint168 » Thu Dec 12, 2013 8:08 pm

One more question, is there a recommended way to let the user set their proxy server address and port in the field? In standard .NET apps, we usually let the user edit the .config file and enter their proxy server address and port but the error reporter is compiled into our main app and it does not have a .config file.
saint168
 
Posts: 10
Joined: Thu Nov 01, 2012 9:24 pm

Postby Chris.Allen » Mon Dec 30, 2013 9:08 pm

The error reporting DLL is always merged into the main executable so I think you can use the main executable config file. I say *think* only because I only trust something that I've seen with my own eyes (and even then... ;).
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm


Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 1 guest