PRECISO DE AJUDA COM O CT-E , COMO USAR PROXY

MALA 01/07/2010 15:28:19
#346300
Preciso de ajuda com o CT-e, meu projeto ja esta enviando, mas sem proxy agora preciso configurar o proxy, alguem poderia me ajudar
MALA 01/07/2010 16:13:11
#346308
Dim cache As Net.CredentialCache = New Net.CredentialCache()
[ô]Add a NetworkCredential instance to CredentialCache.
[ô]Negotiate for NTLM or Kerberos authentication.
cache.Add(New Uri(ws.Url), [Ô]Negotiate[Ô], New Net.NetworkCredential([Ô]UserName[Ô], [Ô]Password[Ô], [Ô]Domain[Ô]))
[ô]Assign CredentialCache to the Web service Client Proxy(myProxy) Credetials property.
ws.Credentials = cache


alguem poderia dar uma olhada neste codigo e ver se estou fazendo certo.
Tópico encerrado , respostas não são mais permitidas