Hm okay, thanks for trying that.
I know it should essentially do the same thing as what you're doing in the code, but could you kindly try editing your app.exe.config file, or adding one for your application, that sets the useDefaultCredentials property to see if that gets things working?
<?xml version="1.0" encoding="utf-8" ?>
<defaultProxy useDefaultCredentials="true" />
Red Gate Software Ltd.