How do i get the system information like Processor name,CPU speed in C#?

9 views
Skip to first unread message

.NetIndia

unread,
Oct 25, 2005, 3:37:56 AM10/25/05
to dotNetIndia
 
How do i get the system information like Processor name,CPU speed in C#?

--
Regards,
.NetIndia Group,
"There is no delight in owning anything unshared."
"A book lying idle on a shelf is wasted ammunition. Like money, books must be kept in constant circulation. Lend and borrow to the maximum -- of both books and money! But especially books, for books represent infinitely more than money. A book is not only a friend, it makes friends for you. When you have possessed a book with mind and spirit, you are enriched. But when you pass it on you are enriched threefold."

Blog:http://dotnetindia.blogspot.com/
Technical Discussion: Techdot...@googlegroups.com
http://groups.google.com/group/TechdotNetIndia
Job Section         : TechdotNet...@googlegroups.com
http://groups.google.com/group/TechdotNetIndia-Jobs

rama subramanian

unread,
Oct 25, 2005, 7:08:24 AM10/25/05
to Techdot...@googlegroups.com
hi
   i have one doubt.
im having two dropdownlist.
one for country names.
another for state names.
depends on country selected states should be fill.
 
i want state names filling in client side.
i have given country name dropdown Autopostback true.
 
urgent


Yahoo! India Matrimony: Find your partner now.

rama subramanian

unread,
Oct 25, 2005, 7:08:33 AM10/25/05
to Techdot...@googlegroups.com
hi
   i have one doubt.
im having two dropdownlist.
one for country names.
another for state names.
depends on country selected states should be fill.
 
i want state names filling in client side.
i have given country name dropdown Autopostback true.
 
urgent


With Regards
 
Ramasubramanian.N
Executive Projects
Enigma Digital Concepts
Enigma Villa,ITPL Main Road,
Bangalore-560066
080-28476984 / 85 / 97 / 98
www.edcindia.com

Ravi

unread,
Oct 25, 2005, 7:30:10 AM10/25/05
to Techdot...@googlegroups.com
Hi Ramasubramanian,
 
Dropdownlist.attributes.add("onchange","your javascript function(Dropdownlist.clientID)")
write ur javascript function as
function onchange(obj)
{
alert(obj.selected.value)  //it alerts the value selected in the dropdown list
}
 
set autopostback=false

Ravi

unread,
Oct 25, 2005, 7:32:23 AM10/25/05
to Techdot...@googlegroups.com
You can use system.diagoistics.process class to get the number of process currently running and memory occupied
 
Dig more on that namespace "System.Diagnostics"

ST Sreetharan

unread,
Oct 25, 2005, 7:49:51 AM10/25/05
to Techdot...@googlegroups.com
Hi
     There is a concept called Windows Management Instrumentation is there in .NET for more details see an article submitted by me
 
Cheers
Sreetharan S.T

BabuLives

unread,
Oct 26, 2005, 2:21:26 AM10/26/05
to .NetIndia
Well this can also be done by accessing the registry values.We an use
RegistryKey Class that is avilable in Microsoft.Win32.

To See the coding....

Just click ....

http://satheeshbabu.blogspot.com/


Regards,
Satheesh

Reply all
Reply to author
Forward
Message has been deleted
0 new messages