How to unbind a network protocol ?
-
I need to write an app to programmatically unbind a certain protocol from a network card. E.g. Check if Netbeui is bound to a certain ethernet network card and if so then I need to unbind it (without user intervention). The idea is that after running the app only TCP/IP would be bound to the ethernet card no matter what additional protocols are installed on the computer. I've got it working in Win2k (with the use of the INetCfg API calls) but I can't find any API calls or code examples on how to this in Win98/Win Me and NT4. Any ideas? :confused:
-
I need to write an app to programmatically unbind a certain protocol from a network card. E.g. Check if Netbeui is bound to a certain ethernet network card and if so then I need to unbind it (without user intervention). The idea is that after running the app only TCP/IP would be bound to the ethernet card no matter what additional protocols are installed on the computer. I've got it working in Win2k (with the use of the INetCfg API calls) but I can't find any API calls or code examples on how to this in Win98/Win Me and NT4. Any ideas? :confused:
> I've got it working in Win2k (with the use of the INetCfg > API calls) but I can't find any API calls or code examples > on how to this in Win98/Win Me and NT4. Any ideas? No. AFAIK this is impossible using published API. MS never been much of a team player in this area... You could however have some luck looking at the .inf files and perhaps convince the script interpreter to remove it. If not, the only solution I know of is the old true-and-proven-that-takes-forever: disassembling MS' code. Not much of an answer, but at least better than silence... Sorry for the "no way" reply.