Desktop Functions: Smart Device Functions:
|
Search Results for "IpReleaseAddress" in [All]iphlpapiThe following C# sourcecode implements classes and structures with the purpose of making the use of GetInterfaceInfo and IpReleaseAddress easier. Thanks to Lieutenant (http://www.red-gate.com/MessageBoard/viewtopic.php?t=5754) for submitting this code.
public static extern int IpReleaseAddress(ref IP_ADAPTER_INDEX_MAP AdapterInfo);
public static bool IpReleaseAddress(IP_ADAPTER_INDEX_MAP adapter)
if (PInvokes.IpReleaseAddress(ref adapter) == PInvokes.ERROR_SUCCESS)
IpReleaseAddress(info.Adapter[i]);
public static extern int IpReleaseAddress(ref IP_ADAPTER_INDEX_MAP AdapterInfo); The following C# sourcecode implements classes and structures with the purpose of making the use of GetInterfaceInfo and IpReleaseAddress easier. Thanks to Lieutenant (http://www.red-gate.com/MessageBoard/viewtopic.php?t=5754) for submitting this code.
public static extern int IpReleaseAddress(ref IP_ADAPTER_INDEX_MAP AdapterInfo);
public static bool IpReleaseAddress(IP_ADAPTER_INDEX_MAP adapter)
if (PInvokes.IpReleaseAddress(ref adapter) == PInvokes.ERROR_SUCCESS)
IpReleaseAddress(info.Adapter[i]); |