Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HttpPolicyDownloaderProtocol Class

HttpPolicyDownloaderProtocol Class

.NET Framework 4.6 and 4.5

Note: This API is now obsolete.

Downloads the policy file that an instance of the Socket class will use.


Namespace:  System.Net.Sockets
Assembly:  System.Net (in System.Net.dll)

[ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", 
public class HttpPolicyDownloaderProtocol

The HttpPolicyDownloaderProtocol type exposes the following members.

Public methodHttpPolicyDownloaderProtocol Obsolete. Initializes a new instance of the HttpPolicyDownloaderProtocol class.

Public propertyResult Obsolete. Gets the result of the download of the socket policy file.

Public methodAbort Obsolete. Abort the download of the policy file.
Public methodBeginDownload Obsolete. Begin the download of the policy file.
Public methodDownloadCallback Obsolete. The download callback function to receive the results.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodReadCallback Obsolete. The read callback function to read the policy file.
Public methodStatic memberRegisterUnsafeWebRequestCreator Obsolete. Registers an object to creates an unsafe WebRequest to a Uniform Resource Identifier (URI).
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

.NET Framework

Obsolete (does not compile) in 4.5.2 and later

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft