That looks like it might do the trick.  I'll give it a go!

Cheers!

Michael
On Mon, Dec 14, 2009 at 8:36 AM, martimedia <duffym...@googlemail.com>wrote:

> Instead of using
>     request.Credentials = new NetworkCredential(username, password);
>
> try the following (sorry it's in C#) as .NET will try an
> unauthenticated request first, before trying an authenticated
> request :
>
>        byte[] encbuff = System.Text.Encoding.UTF8.GetBytes(username +
> ":" + password);
>        String enc = Convert.ToBase64String(encbuff);
>        request.Headers.Add("Authorization", "Basic " + enc);
>
>
>
> On Nov 24, 3:26 am, Michael Rutherford <rutherf...@michaelsworld.net>
> wrote:
> > Yes, when I send the request to the server, I set the network credentials
> > with my username and password.  The same way I would any other call that
> > requires authentication.
> >
> > On Tue, Nov 24, 2009 at 1:23 PM, Michael Steuer <mste...@gmail.com>
> wrote:
> > > Are you sure your checking your rate with an authenticated call? If you
> > > don't, you'd get the rate for your IP
> >
>  > > On Nov 23, 2009, at 7:02 PM, mtruth <rutherf...@michaelsworld.net>
> wrote:
> >
> > > I whitelisted my account.  My IP would change depending on where I am
> > >> doing my work.
> >
> > >> On Nov 23, 10:43 pm, shiplu <shiplu....@gmail.com> wrote:
> >
> > >>> On Mon, Nov 23, 2009 at 9:41 AM,mtruth<rutherf...@michaelsworld.net>
> > >>> wrote:
> >
> > >>>> Hi,
> >
> > >>> I'm creating an application in VB.Net, I've been white listed.  Yet
> > >>>> when I get my rate in VB.Net it shows that am I am only getting 150
> > >>>> request.  When I check my available requests, I am using my username
> > >>>> and password.
> >
> > >>> Yet, when I run Tweetdeck, I am shown that I get my full white listed
> > >>>> rate limit.
> >
> > >>> What did you whitelist? your account or IP?
> >
> > >>> --
> > >>> A K M Mokaddim
> > >>> My talks,http://talk.cmyweb.net
> > >>> Follow me,http://twitter.com/shiplu
> > >>> SUST Programmers,http://groups.google.com/group/p2psust
> > >>> বাংলিশ লেখার চাইতে বাংলা লেখা অনেক ভাল
>

Reply via email to