Click here to Skip to main content
15,911,030 members
Home / Discussions / C#
   

C#

 
QuestionDeclaring Instance Class variable as Static , any problem in Runtime ? Pin
Nadia Monalisa28-Sep-06 18:22
Nadia Monalisa28-Sep-06 18:22 
AnswerRe: Declaring Instance Class variable as Static , any problem in Runtime ? Pin
jeyapandian28-Sep-06 21:24
jeyapandian28-Sep-06 21:24 
QuestionHow to grab web address from a web browser? Pin
dy1328-Sep-06 16:18
dy1328-Sep-06 16:18 
Questionhow to print controls in vs2005 ? Pin
hdv21228-Sep-06 14:28
hdv21228-Sep-06 14:28 
AnswerRe: how to print controls in vs2005 ? Pin
aamironline28-Sep-06 17:31
aamironline28-Sep-06 17:31 
AnswerRe: how to print controls in vs2005 ? Pin
Nadia Monalisa28-Sep-06 18:52
Nadia Monalisa28-Sep-06 18:52 
QuestionReading Sysem BIOS serial Number or signature Pin
unitecsoft28-Sep-06 11:47
unitecsoft28-Sep-06 11:47 
AnswerRe: Reading Sysem BIOS serial Number or signature Pin
f*** YOU28-Sep-06 16:31
f*** YOU28-Sep-06 16:31 
unitecsoft wrote:
I want to use read system BIOS serial number from my C# application


I have actually done that with QBASIC running on Windows NT 4.0. I used the Peek statement. As for C# and pointers you cannot read farther than where your application's allocated memory ends. I dont know of any API that would allow you to read anything from the BIOS, but you could write a driver and then use C# to interface with it's API

=====Brain melting code=====
static int Sqrt(int x){ if (x<0) throw new ArgumentOutOfRangeException(); int temp, y=0, b=0x8000, bshft=15, v=x; do { if (v>=(temp=(y<<1)+b<<bshft--)) { y+=b; v-=temp; } } while ((b>>=1)>0); return y; :omg:
====TSI TLFL EEOOLHTG=====
^^^^^^^^^^^^^^^^^
Decode that and you will win.;P
============Hint===========
cout << "33 20 57 4F 52 44 53 62 63 6B 77 6F 72 64 73";

AnswerRe: Reading Sysem BIOS serial Number or signature Pin
Eric Dahlvang29-Sep-06 3:43
Eric Dahlvang29-Sep-06 3:43 
AnswerRe: Reading Sysem BIOS serial Number or signature Pin
Hamid_RT29-Sep-06 9:02
Hamid_RT29-Sep-06 9:02 
QuestionUsing Unmanaged C++ Structure in C# Pin
VFaul28-Sep-06 11:04
VFaul28-Sep-06 11:04 
AnswerRe: Using Unmanaged C++ Structure in C# Pin
aamironline28-Sep-06 18:20
aamironline28-Sep-06 18:20 
Questionany good article about using code snippets Pin
Amar Chaudhary28-Sep-06 10:16
Amar Chaudhary28-Sep-06 10:16 
AnswerRe: any good article about using code snippets Pin
_AK_28-Sep-06 10:53
_AK_28-Sep-06 10:53 
AnswerRe: any good article about using code snippets Pin
Hamid_RT29-Sep-06 9:03
Hamid_RT29-Sep-06 9:03 
Questionmultiple monitor question Pin
likefood28-Sep-06 10:07
likefood28-Sep-06 10:07 
AnswerRe: multiple monitor question Pin
Ed.Poore28-Sep-06 12:38
Ed.Poore28-Sep-06 12:38 
GeneralRe: multiple monitor question Pin
likefood28-Sep-06 12:47
likefood28-Sep-06 12:47 
GeneralRe: multiple monitor question Pin
Ed.Poore28-Sep-06 13:00
Ed.Poore28-Sep-06 13:00 
AnswerRe: multiple monitor question Pin
BruceN28-Sep-06 13:15
BruceN28-Sep-06 13:15 
AnswerRe: multiple monitor question Pin
Christian Graus28-Sep-06 18:43
protectorChristian Graus28-Sep-06 18:43 
GeneralRe: multiple monitor question Pin
likefood28-Sep-06 18:46
likefood28-Sep-06 18:46 
GeneralRe: multiple monitor question Pin
Christian Graus28-Sep-06 18:49
protectorChristian Graus28-Sep-06 18:49 
GeneralRe: multiple monitor question Pin
likefood28-Sep-06 18:56
likefood28-Sep-06 18:56 
GeneralRe: multiple monitor question Pin
Christian Graus28-Sep-06 19:00
protectorChristian Graus28-Sep-06 19:00 

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.