none
Need help to start RRS feed

  • Question

  • Hello !

    Am just really new to Rx, which sounds very exciting to me.
    I just hacked a codesnippet from a blog, but I am unable to compile.
    I downloaded Rx [for Net 3.5/SP1] and I am using Vs2008.
    I added a reference to Rx and Vs does not accepts the following statement:

    code-snippet:

    var wc = new WebClient { Credentials = new NetworkCredential("foo", "bar") };
    var progress = wc.DownloadProgressChangedEvent()    //Problem here!
        .Until(wc.DownloadStringCompletedEvent());               //And here!

    VS:

    'System.Net.WebClient' does not contain a definition for 'DownloadProgressChangedEvent' ...

    I looked into the reference for the WebClient and VS is right:There is no such
    thing. So is the statement wrong or what I am missing here ??

    I would like to see some very basic working sources to make my start easier.

    Thanks anyway!

    br--scamb

    br--scamb
    Tuesday, December 29, 2009 3:28 PM

Answers