Share via


WebRequest.RegisterPrefix Method

Registers a WebRequest descendant for the specified URI.

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

Syntax

public static bool RegisterPrefix (
         string prefix,
         IWebRequestCreate creator
)

Parameters

  • prefix
    The complete URI or URI prefix that the WebRequest descendant services.
  • creator
    The create method that the WebRequest calls to create the WebRequest descendant.

Return Value

true.

Version Information

Available in the .NET Micro Framework versions 4.0, 4.1, and 4.2.

See Also

Reference

WebRequest Class
WebRequest Members
System.Net Namespace