Advertisement
Guest User

setting web service proxy

a guest
Apr 19th, 2011
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.24 KB | None | 0 0
  1. Imports System.Net
  2.  
  3. .
  4. .
  5. .
  6.  
  7. '// svcapp is my web reference to the asmx
  8. Dim r = New svcapp.Application()
  9.     r.Proxy = New WebProxy(ProxyUrl) With { _
  10.         .Credentials = New NetworkCredential(ProxyUsr, ProxyPwd, ProxyDmn) _
  11.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement