Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VB.NET Computer Information [SRC]
#1
A few things that might help..

Get the Computer User:
Code:
Textbox1.Text = Microsoft.Win32.Registry.GetValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion", "RegisteredOwner", "")

Get the Computer Company:
Code:
Textbox1.text = Microsoft.Win32.Registry.GetValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion", "RegisteredOrganization", "")

Gets Processor Name:
Code:
Textbox1.text = Microsoft.Win32.Registry.GetValue("HKEY_LOCAL_MACHINE\Hardware\DESCRIPTION\System\CentralProcessor\0", "Identifier", "")

Gets OS Name:
Code:
Textbox1.text = My.Computer.Info.OSFullName

Gets OS Version & Build Number:
Code:
Textbox1.text = My.Computer.Info.OSVersion

Gets BIOS Version:
Code:
Textbox1.text = Microsoft.Win32.Registry.GetValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SystemInformation", "BIOSVersion", "")

Gets System Product Name:
Code:
Textbox1.text = Microsoft.Win32.Registry.GetValue("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SystemInformation", "SystemProductName", "")

Gets Total Physical Memory:
Code:
Textbox1.text = My.Computer.Info.TotalPhysicalMemory

Gets Available Physical Memory:
Code:
Textbox1.text = My.Computer.Info.AvailablePhysicalMemory

Gets Clipboard Text:
Code:
Textbox1.text = My.Computer.Clipboard.GetText

Gets Local Time:
Code:
Textbox1.text = My.Computer.Clock.LocalTime

Blackhat
Reply
#2
I'm going to try them. I suggest using the IF statement.
Reply
#3
(05-24-2010, 10:01 AM)Braco Wrote: I'm going to try them. I suggest using the IF statement.

That totally depends on how you want to implement it.. The IF statement isn't needed if you just want to display the information...
Reply
#4
Well if you use it like this
If textbox1.text = ".." Then
Textbox1.text = <code here>
And automaticly makes it show when you run the program.
Reply
#5
Or a simpler solution would be to put the code under button_click or form_load...

Anyway lets not go off topic Smile
Reply
#6
Yeah that works too Dubstep.
Reply
#7
Thanks I will be using the Local Time code in my next update. (If I continue coding the same program)
Reply
#8
Thanks a lot. I am going to use this in my programs. Smile
Reply
#9
Ooh, Thanks, I'm currently learning visual basic, and i'm getting pretty good since it's not that hard of a program to code in.
Reply
#10
This is a very basic but this does come in use Big Grin
Thanks !
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [VB.NET] Animated Form Extend [SRC] Fragma 6 5,542 10-10-2013, 12:18 PM
Last Post: Saket
  [VB.Net][SRC] YouTube Bot HF~Legend 5 3,664 11-25-2012, 05:54 AM
Last Post: Ixam
  [VB.Net][SRC]ProgressBar Color HF~Legend 14 7,513 09-08-2012, 04:18 PM
Last Post: spesificrelax
  Computer Information - Program Made By Me BreShiE 25 8,385 06-29-2012, 06:01 PM
Last Post: iRtehLeet
  [VB.NET] Basic Reverse Connection RAT [SRC] hasam 1 3,048 02-01-2012, 03:10 PM
Last Post: AceInfinity

Forum Jump:


Users browsing this thread: 2 Guest(s)