Shoutbox

View web source code C# - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: View web source code C# (/showthread.php?tid=94495)

View web source code C# by MX-G on 04-30-2010 at 07:38 PM

Hi people. I'm here asking you a question about C#, how can I view a web source code on C#, for example:

There are a few components on my form like, textbox where you can introduce an url, a button that downloads the source code, and a richtextbox where you can see the source code.

(Y)

that's all :D


RE: View web source code C# by matty on 04-30-2010 at 08:11 PM

You cannot. They would be compiled as a web app which the source isn't viewable.


RE: View web source code C# by Mnjul on 04-30-2010 at 09:06 PM

If you're talking about a webpage's html source, then this can help you get your hands on it http://www.csharp-station.com/howto/httpwebfetch.aspx


RE: View web source code C# by MX-G on 05-02-2010 at 03:25 PM

Yeah, This is what I was talking about, thanks :D