Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi,
you need to autheniticate the browser:
aBaseSession.AuthenticateBrowser(userName, userPassword)
Well,
what I wrote in last email is true if you are invoking from a ProE session but if not then maybe this will be of help:
Dim myCredCache As New CredentialCache()
myCredCache.Add(New Uri("http://some.site.com"), "Basic", New NetworkCredential(userName, userPassword))
client.Credentials = myCredCache
HttpWebRequest request = (HttpWebRequest .Create(pubMonUrl);
request.Headers["Authorization" .ToBase64String(credentialBuffer);
// execute the request
)request.GetResponse();
~Jamie