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 (
         stringprefix,
         IWebRequestCreatecreator
)

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 and 4.1.

See Also

Reference

WebRequest Class
WebRequest Members
System.Net Namespace