!! THIS WEBSITE ONLY FOR TESTING PURPOSE !!
N-Manager SDK 1.4
N-Manager is a developer tool that allows you to manage network connections and settings in Windows 2000/2003/XP/Vista.

This product can be downloaded with the following subscriptions :

Loading
N-Manager is a developer tool that allows you to manage network connections and settings in Windows 2000/2003/XP/Vista. Also, N-Manager provides a COM interface for all API functions so you can easily manage network connections from VB or such .NET languages as VB.NET or C#. With N-Manager you can: Enumerate network adapters, get their names, guids, properties, etc. Enable/disable adapters. Read and change TCP/IP settings: IP, Mask, Gateway, DNS, DHCP. Repair adapters, display properties dialogs. Read and change adapters MAC addresses. Manage Windows firewall. Use "Ping" function. N-Manager provides an interface for: Microsoft Visual C/C++ Microsoft Visual Basic Borland Delphi .NET languages (via COM interface) Other programming systems that can access functions in DLL's or can use COM objects. N-Manager Error Codes ERROR_OFFSET 0x70000000 //error codes offset ERROR_INIT 0x70000001 //initialization error ERROR_INVALIDADAPTER 0x70000002 //incorrect adapter index specified ERROR_SMALLBUFFER 0x70000003 //too small buffer ERROR_FAIL 0x70000004 //unspecified error ERROR_ADAPTERNOTFOUND 0x70000005 //adapter not found ERROR_PINGTIMEOUT 0x70000006 //ping timeout ERROR_PINGFAIL 0x70000007 //ping failed ERROR_HOSTRESOLVE 0x70000008 //cannot get IP of host ERROR_UNSUPPORTEDPLATFORM 0x70000009 //this feature is unsupported in this version of Windows ERROR_MACSET 0x70000011 //cannot set MAC address
Disse: ... #include "Nman.h" ... int res; char name[256]; res = EnumerateAdapters(); if (res > ERROR_OFFSET) return; //some error if (res == 0) return; //no adapters found for (int i=0; i < res; i++) { if (IsAdapterEnabled(i)==0) //if adapter is disabled Enableadapter(i); //then enable this adapter, note admin rights are needed for this operation }
Category Dot Net (.NET)
Rating 0 / 5
Comments 0
Sales 95
Down4Dev
Looking for the best software developer programs, components for Delphi, Dotnet, and more? Look here.
{{ userMessage }}