Share via


WSDiscoveryResources.OnlyIPV4OrIPV6 Method

The value of the AddressFamily field can only be InterNetwork (IPV4) or InterNetworkV6 (IPV6).

Namespace: Microsoft.Rfid.WSDiscovery
Assembly: Microsoft.Rfid.WsDiscovery (in microsoft.rfid.wsdiscovery.dll)

Syntax

'Declaration

Public Shared Function OnlyIPV4OrIPV6 ( _
    addressFamily As String _
) As String
public static string OnlyIPV4OrIPV6 (
    string addressFamily
)
public:
static String^ OnlyIPV4OrIPV6 (
    String^ addressFamily
)
public static String OnlyIPV4OrIPV6 (
    String addressFamily
)
public static function OnlyIPV4OrIPV6 (
    addressFamily : String
) : String

Parameters

  • addressFamily

Thread Safety

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

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

WSDiscoveryResources Class
WSDiscoveryResources Members
Microsoft.Rfid.WSDiscovery Namespace