Reply
Peripheral Information
Old 03-01-2008, 02:24 PM Peripheral Information
Junior Talker

Posts: 4
Name: Vincent
I'm looking for some ways to get detailed peripheral information without using WMI.

I need such information as manufacturer, capability characteristics (i.e. processorspeed, disc space, etc.) and all-important a unique ID.

If possible it should work remotely.

THX for response
FdM-BIOS.at is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 03-01-2008, 03:32 PM Re: Peripheral Information
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
From the server, or the client?
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 03-01-2008, 03:37 PM Re: Peripheral Information
Junior Talker

Posts: 4
Name: Vincent
from the client
FdM-BIOS.at is offline
Reply With Quote
View Public Profile
 
Old 03-01-2008, 03:51 PM Re: Peripheral Information
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
You need to make a custom browser to accomplish that. It doesn't have to be a replacement for IE or Firefox; a toolbar might have access to that info. Or something like Google Earth.

But there's no code you can write on the server side to make the common web browsers give that kind of information up. You can get at a lot of it without wmi, but asp.net code runs on the server, and to look at that data, you need to get your code to run on the client side.
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 03-01-2008, 03:54 PM Re: Peripheral Information
Junior Talker

Posts: 4
Name: Vincent
I'm sorry for this mistake, my aim was another one:
I'm searching for one of two solutions:

I've a system service with network-service rights, running on a windows 2003 server that should gather information about periphery of computers in the same domain.

Now what I've done is enumerating those computers and accessing them. The problem is that WMI does not provide enough data for me.

Solution 1: Another technique that is usable remotely from this service to gather information.
Solution 2: A service that is running on every client and gathering information and sending the gathered info to the server-service.

In both cases I need information about the way to access these components' details.
Please help


P.S.: No website is used here

Last edited by FdM-BIOS.at : 03-01-2008 at 03:59 PM.
FdM-BIOS.at is offline
Reply With Quote
View Public Profile
 
Old 03-02-2008, 02:17 PM Re: Peripheral Information
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
Sorry; it's pretty rare to see a non-web site question here, so I assumed.

The DriveInfo class in System.IO will get you disc space, type, and other info. Environment.GetLogicalDrives is another place to look for drive info. The Environment static class exposes some basics, but not to the level you're looking for: processor count but not speed, netbios machine name, et cetera. By unique ID, I'm guessing you mean the MAC ID?

This is a bit of a hack/workaround, but in the registry, under HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\SYSTEM\Cen tralProcessor, there's a node for each chip on the host. Each of these has a ~MHz entry.

I'll have to ping a few resources to get some thoughts on the rest; it's not the type of development I typically do.
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Reply     « Reply to Peripheral Information
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13502 seconds with 13 queries