Click here to Skip to main content
15,924,038 members
Home / Discussions / C#
   

C#

 
Generalfind I/O devices! Pin
waleed riaz20-Oct-03 1:49
waleed riaz20-Oct-03 1:49 
GeneralRe: find I/O devices! Pin
Heath Stewart20-Oct-03 6:20
protectorHeath Stewart20-Oct-03 6:20 
None. .NET (btw, C# is a language that only targets .NET - nothing special in and of itself) is a higher-level platform. C# and a few other languages that target the CLR do let you use lower-level programming with pointers in an unsafe context, but P/Invoking (calling Win32 native functions) what you need to accomplish what you want, and creating all the structs and what not, would be very time-consuming. Using C# (or the .NET Framework in general) would not be the way to go.

If you need this information in a .NET application, consider putting such functionality in a Win32 DLL and P/Invoking it, or - perhaps better - create a COM object that does this and get that information in a much simplier COM interop call.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralMaking a single control as Windows Forms Control and Web Forms Control Pin
Muhammad Nauman Khan20-Oct-03 1:00
Muhammad Nauman Khan20-Oct-03 1:00 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Mike Ellison20-Oct-03 1:52
Mike Ellison20-Oct-03 1:52 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Muhammad Nauman Khan20-Oct-03 2:16
Muhammad Nauman Khan20-Oct-03 2:16 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Judah Gabriel Himango20-Oct-03 4:40
sponsorJudah Gabriel Himango20-Oct-03 4:40 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Judah Gabriel Himango20-Oct-03 5:06
sponsorJudah Gabriel Himango20-Oct-03 5:06 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Heath Stewart20-Oct-03 5:26
protectorHeath Stewart20-Oct-03 5:26 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Tomas Petricek20-Oct-03 5:09
Tomas Petricek20-Oct-03 5:09 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Judah Gabriel Himango20-Oct-03 5:23
sponsorJudah Gabriel Himango20-Oct-03 5:23 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Heath Stewart20-Oct-03 5:24
protectorHeath Stewart20-Oct-03 5:24 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Judah Gabriel Himango20-Oct-03 5:46
sponsorJudah Gabriel Himango20-Oct-03 5:46 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Heath Stewart20-Oct-03 6:03
protectorHeath Stewart20-Oct-03 6:03 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Judah Gabriel Himango20-Oct-03 8:34
sponsorJudah Gabriel Himango20-Oct-03 8:34 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Heath Stewart20-Oct-03 9:24
protectorHeath Stewart20-Oct-03 9:24 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
igor196020-Oct-03 9:46
igor196020-Oct-03 9:46 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Heath Stewart20-Oct-03 10:31
protectorHeath Stewart20-Oct-03 10:31 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
igor196020-Oct-03 10:46
igor196020-Oct-03 10:46 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Heath Stewart20-Oct-03 10:54
protectorHeath Stewart20-Oct-03 10:54 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
igor196020-Oct-03 11:00
igor196020-Oct-03 11:00 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Heath Stewart20-Oct-03 11:05
protectorHeath Stewart20-Oct-03 11:05 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Judah Gabriel Himango20-Oct-03 11:13
sponsorJudah Gabriel Himango20-Oct-03 11:13 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Heath Stewart20-Oct-03 11:47
protectorHeath Stewart20-Oct-03 11:47 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
igor196020-Oct-03 8:27
igor196020-Oct-03 8:27 
GeneralRe: Making a single control as Windows Forms Control and Web Forms Control Pin
Judah Gabriel Himango20-Oct-03 8:30
sponsorJudah Gabriel Himango20-Oct-03 8:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.