IPAddressExtensionsGetInterfaceIndex Method
Returns the index for the interface which has the ip address assigned
Namespace: ARSoft.Tools.NetAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public static int GetInterfaceIndex(
this IPAddress ipAddress
)
<ExtensionAttribute>
Public Shared Function GetInterfaceIndex (
ipAddress As IPAddress
) As Integer
public:
[ExtensionAttribute]
static int GetInterfaceIndex(
IPAddress^ ipAddress
)
[<ExtensionAttribute>]
static member GetInterfaceIndex :
ipAddress : IPAddress -> int
- ipAddress IPAddress
- The ip address to look for
Int32 The index for the interface which has the ip address assigned In Visual Basic and C#, you can call this method as an instance method on any object of type
IPAddress. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).