Desktop Functions: Smart Device Functions:
|
GetBestInterface (iphlpapi)
C# Signature:
[DllImport("iphlpapi.dll", SetLastError=true)] VB Signature:
Declare Function GetBestInterface Lib "iphlpapi.dll" (TODO) As TODO User-Defined Types:None. Notes:DestAddr is a 32 bit representation of the four IP bytes. For .NET 1.0, you can get this from IPAddress.Address. In .NET 1.1, this is obsolete. You can use BitConverter.ToUInt32(IPAddress.GetAddressBytes()) instead. Tips & Tricks:Use GetAdaptersInfo to determine which adapter the index corresponds to. Sample Code:Please add some here! Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|