473,506 Members | 16,201 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ACPI and .Net

Anybody know where I can find information on accessing the ACPI
(Advanced Configuration and Power Interface) from VB.Net or C#?
Specifically, I need to create a service that reports on the battery
status of a tablet PC.

TIA,
-bob

Jul 21 '05 #1
2 6564
Bob,
you can do this via the WMI classes in .NET.
I haven't got any code that does that, but do a search for WMI and .NET for
some code, and look at the WMI documentation of msdn.microsoft.com
Cheers,
Thomas
"Bob Finger" <bo*******@comcast.net> wrote in message
news:#m**************@tk2msftngp13.phx.gbl...
Anybody know where I can find information on accessing the ACPI
(Advanced Configuration and Power Interface) from VB.Net or C#?
Specifically, I need to create a service that reports on the battery
status of a tablet PC.

TIA,
-bob

Jul 21 '05 #2
Thanks very much.

-bob

Thomas wrote:
Bob,
you can do this via the WMI classes in .NET.
I haven't got any code that does that, but do a search for WMI and .NET for
some code, and look at the WMI documentation of msdn.microsoft.com
Cheers,
Thomas
"Bob Finger" <bo*******@comcast.net> wrote in message
news:#m**************@tk2msftngp13.phx.gbl...
Anybody know where I can find information on accessing the ACPI
(Advanced Configuration and Power Interface) from VB.Net or C#?
Specifically, I need to create a service that reports on the battery
status of a tablet PC.

TIA,
-bob



Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
2478
by: Daniel Mueller | last post by:
Hello Fellow Python Programmers, I have the following problem: i want to read the content of a file every 10 seconds. now what is the best funktion to do that? to open the file, read it and...
2
330
by: Bob Finger | last post by:
Anybody know where I can find information on accessing the ACPI (Advanced Configuration and Power Interface) from VB.Net or C#? Specifically, I need to create a service that reports on the battery...
3
1362
by: cwalker | last post by:
I have an application I'm supporting that needs to determine whether or not a CPU supports Uni/Multi-processors or just ACPI. The original developer determined this by testing the CPUID features...
1
9594
by: mahiapkum | last post by:
can anyone help me with detailed explanation of cat /proc/meminfo and cat /proc/iomem command: MemTotal: 1018132 kB MemFree: 597464 kB Buffers: 20220 kB Cached: 197856...
3
1328
by: wdandrews1 | last post by:
/* Remove.c ** Usage: remove < In_file Out_file (using redirection) */ #include <stdio.h> #include <stdlib.h> int main(void) { char c; int space = 0;
0
1219
by: Oguz Yarimtepe | last post by:
Hi all, Is it possible to get the hid code of any pressed key via python? If anyone used such a thing before, i will be happy to get some clues. -- Oðuz Yarýmtepe
0
1047
by: =?Utf-8?B?R29yZG9uIFQgSmFja3Nvbg==?= | last post by:
We are running an non PPM ACPI Supermicro MB with a newly installed power supply. Attempts to encode video to compressed formats have created poor processor performance with extremely high Kernel...
0
1026
by: ambikag | last post by:
Hello All, I need to determine power consumption through ACPI(Advanced Configuration and Power Interface) mechanism. Please if any one could help me out how can i access ACPI through wmi...
10
2812
by: =?iso-8859-1?B?S2VyZW0gR/xtcvxrY/w=?= | last post by:
Hi, i have text like this: "ACPI\GENUINEINTEL_-_X86_FAMILY_6_MODEL_13\_0" an after displaying it in a RichTextBox as RTF string, i get this: "ACPI_-_x86_Family_6_Model_13 "
0
7105
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7308
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7023
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5037
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
410
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.