C #, as a managed and protected run-time mechanism, does not allow access to low-level hardware and memory locations associated with the actual hardware are not available.
You will need to use a port driver or write your own in C ++ or C using the appropriate Windows API to access memory mapped I / O areas. This will work in a lower ring than C # programs can use.
, #, , ++, #. , , ( ++ , ).
-Adam