BindIPEndPointDelegate Property

ServicePoint.BindIPEndPointDelegate Property

 

Specifies the delegate to associate a local IPEndPoint with a ServicePoint.

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

public BindIPEndPoint BindIPEndPointDelegate { get; set; }

Property Value

Type: System.Net.BindIPEndPoint

A delegate that forces a ServicePoint to use a particular local Internet Protocol (IP) address and port number. The default value is null.

Some load balancing techniques require a client to use a specific local IP address and port number, rather than IPAddress.Any (or IPAddress.IPv6Any for Internet Protocol Version 6) and an ephemeral port. Your BindIPEndPointDelegate can satisfy this requirement.

SecurityPermission

for binding to a local port. Associated enumeration: Infrastructure

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft