hi,
i have the following code working fine:
Dim request As WebRequest = WebRequest.Create("mysite.com")
Dim byteArray As Byte() = ASCII.GetBytes(query)
query ="data=1"
' Dim byteArray As Byte() = Encoding.UTF8.GetBytes(query)
request.ContentType = "application/x-www-form-urlencoded"
request.ContentLength = byteArray.Length
but now i have protected the link with a user login that apache does
with the folder protect user and password
i have done this in my code for login:
request.Credentials = New NetworkCredential("user", "pass")
but i can´t still acess the site i think it´s because the login
the credencials that vb.net have is for login the folder protected password or is
for something else?
thanks a lot for your help
i have the following code working fine:
Dim request As WebRequest = WebRequest.Create("mysite.com")
Dim byteArray As Byte() = ASCII.GetBytes(query)
query ="data=1"
' Dim byteArray As Byte() = Encoding.UTF8.GetBytes(query)
request.ContentType = "application/x-www-form-urlencoded"
request.ContentLength = byteArray.Length
but now i have protected the link with a user login that apache does
with the folder protect user and password
i have done this in my code for login:
request.Credentials = New NetworkCredential("user", "pass")
but i can´t still acess the site i think it´s because the login
the credencials that vb.net have is for login the folder protected password or is
for something else?
thanks a lot for your help