Advertisement
Advertisement
| 07.15.2008 at 06:04AM PDT, ID: 23565859 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: |
myhttpWebRequest = System.Net.HttpWebRequest.Create(DestinationURL)
'myhttpWebRequest.Timeout = -1
If blnUseSecurity Then
myhttpWebRequest.Credentials = New System.Net.NetworkCredential(strUsername, strPassword)
End If
myhttpWebRequest.PreAuthenticate = True
myhttpWebRequest.UserAgent = "SOL-1 JasJam"
myhttpWebRequest.Method = "POST"
myhttpWebRequest.ContentType = "application/x-www-form-urlencoded"
myhttpWebRequest.AllowWriteStreamBuffering = True
|