Curso 43 VB.NET Informacion Computadora


En este tutorial veremos como obtener informacion de la computadora tales como : nombre de la pc ,nombre del sistema operativo ,si estas conectado a alguna red ,etc .

Video Tutoriales

Codigo Fuente

Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click 'INFORMACION COMPUTADORA O ORDENADOR : 'NOMBRE DE LA MAQUINA MsgBox(My.Computer.Name) 'NOMBRE COMPLETO DEL SISTEMA OPERATIVO MsgBox(My.Computer.Info.OSFullName) 'MEMORIA RAM MsgBox(My.Computer.Info.TotalPhysicalMemory) 'SABER SI ESTAMOS CONECTADOS A UNA RED LOCAL If My.Computer.Network.IsAvailable Then MsgBox("Si estas conectado en red", vbInformation, "Info") End If 'HORA ACTUAL y FECHA MsgBox(My.Computer.Clock.LocalTime) End Sub

No hay comentarios :

Publicar un comentario

Seguidores