hi
i have a little winform-application which is supposed to open a webpage and read its content to a stream. but im getting an excepetion about missing permissions. so i tried working with system.net.webpermissions but without success.
can anybody point me into the right direction to get this problem solved?
best regards
Dim pClient As New System.Net.WebClient
Dim pStream As System.IO.Stream
pStream = pClient.OpenRead("http://www.cnn.com")
i have a little winform-application which is supposed to open a webpage and read its content to a stream. but im getting an excepetion about missing permissions. so i tried working with system.net.webpermissions but without success.
can anybody point me into the right direction to get this problem solved?
best regards
Dim pClient As New System.Net.WebClient
Dim pStream As System.IO.Stream
pStream = pClient.OpenRead("http://www.cnn.com")