HELP ME! I need the HTML of a youtube video webpage into a string. Then I will parse it in my program so I can find out info about it.

This is dirt simple, Please google your questions before you waste space on daniweb.

The webclient's downloadstring method gets the "HTML Source" of any webpage.

using System;
using System.Net;

class Program
{
    static void Main()
    {
        // Create web client.
        WebClient client = new WebClient();

        // Download string.
        string value = client.DownloadString("http://dotnetperls.com/");

        // Write values.
        Console.WriteLine("--- WebClient result ---");
        Console.WriteLine(value.Length);
        Console.WriteLine(value);
    }
}

~~~ Output of the program ~~~
    The program prints the page length in characters.
    The program prints the HTML source for the download.
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.