473,908 Members | 4,934 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

NDIS from c#

hai all,
can any one specify how to call NDIS from c#?im new to NDIS .can anyone
tell where to start ?

Feb 4 '06 #1
3 3962

"raji" <ra*********@gm ail.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
| hai all,
| can any one specify how to call NDIS from c#?im new to NDIS .can anyone
| tell where to start ?
|

You cannot talk to NDIS from managed code, only drivers can do it, this is
not the domain of managed languages this is C++ only.

Willy.
Feb 6 '06 #2
This could change with Vista as "user mode" managed drivers will be more
common. NDIS probably will not go user mode (nor vid drivers), but there
may be some other ways of calling it or calling some filter driver in
managed code. Should be interesting.

--
William Stacey [MVP]

"Willy Denoyette [MVP]" <wi************ *@telenet.be> wrote in message
news:eQ******** ******@TK2MSFTN GP09.phx.gbl...
|
| "raji" <ra*********@gm ail.com> wrote in message
| news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
|| hai all,
|| can any one specify how to call NDIS from c#?im new to NDIS .can anyone
|| tell where to start ?
||
|
| You cannot talk to NDIS from managed code, only drivers can do it, this is
| not the domain of managed languages this is C++ only.
|
| Willy.
|
|
Feb 6 '06 #3
These kind of devices will stay in kernel mode, UMDF is only for stuff like
removable media devices on USB or IEEE1384 like cameras, media player PAD's
etc

Willy.
"William Stacey [MVP]" <wi************ @gmail.com> wrote in message
news:ON******** *****@TK2MSFTNG P15.phx.gbl...
| This could change with Vista as "user mode" managed drivers will be more
| common. NDIS probably will not go user mode (nor vid drivers), but there
| may be some other ways of calling it or calling some filter driver in
| managed code. Should be interesting.
|
| --
| William Stacey [MVP]
|
| "Willy Denoyette [MVP]" <wi************ *@telenet.be> wrote in message
| news:eQ******** ******@TK2MSFTN GP09.phx.gbl...
||
|| "raji" <ra*********@gm ail.com> wrote in message
|| news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
||| hai all,
||| can any one specify how to call NDIS from c#?im new to NDIS .can anyone
||| tell where to start ?
|||
||
|| You cannot talk to NDIS from managed code, only drivers can do it, this
is
|| not the domain of managed languages this is C++ only.
||
|| Willy.
||
||
|
|
Feb 6 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2441
by: | last post by:
Hi, Is there a NDIS wrapper for C# anywhere? Thanks
1
3596
by: centrino | last post by:
Hi all, I'm trying to access the extended Passthru from http://www.wd-3.com/031504/PTEx3_index.htm using C#. Anybody know how to get the correct iocontrol codes of : IOCTL_PTUSERIO_ENUMERATE = ?; IOCTL_NDISPROT_OPEN_DEVICE = ?;
3
1495
by: andrew | last post by:
Hello, I'm new to using NDIS and figuring out what I can and can't do with it. A fair amount of documentation refers to structures and funcs defined in Nuiouser.h. This header seems to be available for my Win CE and pocket PC SDK's, but not for my general winxp environment on a laptop/notebook. So my question is, how do I get the same functionality for my general winxp environment? I'm not doing any device driver development, I just...
0
1115
by: kopi | last post by:
Hi, Is it possible to access the NDIS OID features for accessing the 802.11 interfaces using .Net? I am trying to see if it is possible to control the 802.11 wirelss interface with .Net APIs.
5
2407
by: Björn Olsson | last post by:
Hello All. If I where to capture network traffic, dropping packets and modifying packets. I.e write firewall functionality. Which API or SDK would be the correct choice? I would prefer to do it in .net. Do I have to use the DDK package or is there any other way? Im quite lost here. --
6
6822
by: Thorbjørn Jørgensen | last post by:
Hi I am trying to create an application that can configure some of the properties of a WLAN card, for instance BSSID. I can read the BSSID without any problems using the System.Management class. I have tried the following code: public void SetWlanBaseServiceSetIdentifier(string InstanceName, byte BssidMac) { ManagementClass mc = new ManagementClass(@"root\WMI","MSNdis_80211_BaseServiceSetIdentifier",new ObjectGetOptions()); ...
1
2237
by: Silent.Dream | last post by:
I'm trying to write a program that will tell a wireless card to associate to an access point using x encryption, etc. etc. My question is: Does anyone have some source code of an example of how to perform this task?
0
4291
by: BLUE | last post by:
Enable and Disable in the Network and DialUp Connections manager is actually setting a bit in the registry for the target adapter and then calling NDIS to unbind or bind (depending on whether your disabling or enabling the adapter). In HKEY_LOCAL_MACHINE\Comm\NdisPower insert this value to disable the adapter: <adapterNameREG_DWORD 4 (0x00000004)
2
4741
by: ricovox | last post by:
Hi, Does anyone have experience with NDIS drivers? I need to either write or find an NDIS driver that will allow my user-mode application to selectively DROP packets before they hit the TCP/IP stack. In addition I would like to SEND out new raw packets. I'm sure many people have developed such drivers, but I don't know of any. Ideally, I would like the source code for such a driver, or some help developing one. Thanks! Richard
0
9875
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11335
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10913
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11040
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9721
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5930
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4765
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3354
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.