Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpGetClientProtocol Constructor ()


Initializes a new instance of the HttpGetClientProtocol class.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

public HttpGetClientProtocol()

Legacy Code Example

        // Math is a proxy class derived from HttpGetClientProtocol.
        HttpGetClientProtocol myHttpGetClientProtocol = new Math();

        // Obtain password from a secure store.
        String SecurelyStoredPassword = String.Empty;

        // Set the client-side credentials using the Credentials property.
        ICredentials credentials = 
            new NetworkCredential("Joe", "mydomain", SecurelyStoredPassword);
        myHttpGetClientProtocol.Credentials = credentials;
        Console.WriteLine("Auto redirect is: "
            + myHttpGetClientProtocol.AllowAutoRedirect);

.NET Framework
Available since 1.1
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft