Authorization Error in Visual Studios .net 2.0


When using the following code I receive an Authorization Error message. The error occurs when invoking GetLastTrack. I am using my key in place of the *****. Any idea why?

            WSFlightaware.DirectFlight ws3 = new WSFlightaware.DirectFlight();
            ws3.Credentials = new NetworkCredential("hodgsonm", "******");  // using System.Net; required
            ws3.PreAuthenticate = true;
                WSFlightaware.TrackStruct] mytailnumbers = ws3.GetLastTrack(N_number);  

Exception Details: System.Net.WebException: The request failed with HTTP status 401: Authorization Required.

Line 254: [return: System.Xml.Serialization.SoapElementAttribute(“return”)]
Line 255: public TrackStruct] GetLastTrack(string ident) {
Line 256: object] results = this.Invoke(“GetLastTrack”, new object] {
Line 257: ident});
Line 258: return ((TrackStruct])(results[0]));


If you use the basic example, does it work?

using System.Net;
class test {
  public static void Main(string] args)
	DirectFlight df = new DirectFlight();
	df.Credentials = new NetworkCredential("sampleUser", "abc123abc123abc123abc123abc123");
       	df.PreAuthenticate = true;
	EnrouteStruct r = df.Enroute("KAUS", 10, "", 0);

	foreach (EnrouteFlightStruct e in r.enroute) {



Do you have a local proxy server you need to authenticate with to get out to the internet?