a guest Jan 17th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Dim castExceptionToWebException As WebException = TryCast(ex, WebException)
- using r As new StreamReader(castExceptionToWebException.Response.GetResponseStream())
- Dim responseContent = r.ReadToEnd()
- ' DO SOMETHING WITH responseContent
- End Using
RAW Paste Data