Click here to Skip to main content
16,005,038 members
Home / Discussions / C#
   

C#

 
AnswerRe: Getting free physical Memory ? Pin
Bhupi Bhai4-Dec-06 21:32
Bhupi Bhai4-Dec-06 21:32 
GeneralRe: Getting free physical Memory ? Pin
Martin#4-Dec-06 21:57
Martin#4-Dec-06 21:57 
GeneralRe: Getting free physical Memory ? Pin
Martin#4-Dec-06 22:50
Martin#4-Dec-06 22:50 
GeneralRe: Getting free physical Memory ? Pin
Bhupi Bhai4-Dec-06 23:05
Bhupi Bhai4-Dec-06 23:05 
GeneralRe: Getting free physical Memory ? Pin
Martin#4-Dec-06 23:32
Martin#4-Dec-06 23:32 
AnswerRe: Getting free physical Memory ? Pin
lmoelleb4-Dec-06 23:13
lmoelleb4-Dec-06 23:13 
GeneralRe: Getting free physical Memory ? Pin
Martin#4-Dec-06 23:23
Martin#4-Dec-06 23:23 
GeneralRe: Getting free physical Memory ? Pin
Bhupi Bhai4-Dec-06 23:44
Bhupi Bhai4-Dec-06 23:44 
Yes, lmoelleb (is that ur name) is right.
Using WMI in C# you can get Free Physical Memory.

ManagementObjectSearcher query = new ManagementObjectSearcher("SELECT * FROM Win32_OperatingSystem");
ManagementObjectCollection queryCollection1 = query.Get();
foreach(ManagementObject mo in queryCollection1 )
{
Console.WriteLine("Free Physical Memory : " + mo["freephysicalmemory"].ToString());
}



Regards,
Bhupi Bhai.
AnswerRe: Getting free physical Memory ? Pin
Martin#4-Dec-06 23:29
Martin#4-Dec-06 23:29 
Questionhow to call web service from Windows Service in C#? Pin
ramyasangeet4-Dec-06 19:59
ramyasangeet4-Dec-06 19:59 
GeneralRe: how to call web service from Windows Service in C#? Pin
Guffa4-Dec-06 21:45
Guffa4-Dec-06 21:45 
GeneralRe: how to call web service from Windows Service in C#? Pin
ramyasangeet4-Dec-06 21:57
ramyasangeet4-Dec-06 21:57 
GeneralRe: how to call web service from Windows Service in C#? Pin
jdkulkarni5-Dec-06 0:36
jdkulkarni5-Dec-06 0:36 
GeneralRe: how to call web service from Windows Service in C#? Pin
ramyasangeet5-Dec-06 1:34
ramyasangeet5-Dec-06 1:34 
Questionreplacing a string that has double quotes to single qoutes Pin
steve_rm4-Dec-06 19:57
steve_rm4-Dec-06 19:57 
AnswerRe: replacing a string that has double quotes to single qoutes Pin
rah_sin4-Dec-06 20:00
professionalrah_sin4-Dec-06 20:00 
QuestionRe: replacing a string that has double quotes to single qoutes Pin
steve_rm4-Dec-06 20:07
steve_rm4-Dec-06 20:07 
AnswerRe: replacing a string that has double quotes to single qoutes Pin
rah_sin4-Dec-06 20:28
professionalrah_sin4-Dec-06 20:28 
AnswerRe: replacing a string that has double quotes to single qoutes Pin
quiteSmart4-Dec-06 20:17
quiteSmart4-Dec-06 20:17 
QuestionRe: replacing a string that has double quotes to single qoutes Pin
steve_rm4-Dec-06 20:28
steve_rm4-Dec-06 20:28 
AnswerRe: replacing a string that has double quotes to single qoutes Pin
Guffa4-Dec-06 20:53
Guffa4-Dec-06 20:53 
AnswerRe: replacing a string that has double quotes to single qoutes Pin
Bhupi Bhai4-Dec-06 20:28
Bhupi Bhai4-Dec-06 20:28 
AnswerRe: replacing a string that has double quotes to single qoutes Pin
abja4-Dec-06 21:38
abja4-Dec-06 21:38 
Questionmultiple selection of radio buttons Pin
deepualuru4-Dec-06 19:26
deepualuru4-Dec-06 19:26 
AnswerRe: multiple selection of radio buttons Pin
Coding C#4-Dec-06 19:31
Coding C#4-Dec-06 19:31 

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.