Share via


ContentLocationIPAddresses.DiscoverIPAddresses Method (IPAddressDiscoveryType)

 

Discovers local IP addresses from network interface cards (NICs). You can specify IPv4, IPv6, or both.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Messages
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public int DiscoverIPAddresses(
    IPAddressDiscoveryType discoveryType
)
public:
int DiscoverIPAddresses(
    IPAddressDiscoveryType discoveryType
)
Public Function DiscoverIPAddresses (
    discoveryType As IPAddressDiscoveryType
) As Integer

Parameters

Return Value

Type: System.Int32

Count of discovered IP addresses.

See Also

DiscoverIPAddresses Overload
ContentLocationIPAddresses Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top