기타 강좌

C언어
2010.07.11 17:17

C# - 시스템 정보 받기

조회 수 2831 추천 수 0 댓글 2
Atachment
첨부 '1'

zcv.png

 

 

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication3
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            //현재 시스템 변수를 선언
            OperatingSystem os = Environment.OSVersion;
            string Name = "알 수 없음";
            //현재 활성화된 프로세서 수를 측정후 반영
            label3.Text = Environment.ProcessorCount.ToString();
            label5.Text = Environment.Version.ToString();
            //마우스 정보를 위해 타이머 스타트
            timer1.Start();
            //OS버전별 교환
            switch (os.Platform)
            {
                case PlatformID.Win32Windows:
                    {
                        if (os.Version.Major == 4)
                        {
                            switch (os.Version.Minor)
                            {
                                case 0:
                                    Name = "Windows 95";
                                    break;
                                case 10:
                                    Name = "Windows 98";
                                    break;
                                case 90:
                                    Name = "Windows Me";
                                    break;
                            }
                        }
                        break;
                    }
                case PlatformID.Win32NT:
                    {
                        if (os.Version.Major == 4)
                        {
                            Name = "Windows NT 4.0";
                        }
                        else if (os.Version.Major == 5)
                        {
                            switch (os.Version.Minor)
                            {
                                case 0:
                                    Name = "Windows 2000";
                                    break;
                                case 1:
                                    Name = "Windows XP";
                                    break;
                                case 2:
                                    Name = "Windows Server 2003";
                                    break;
                            }
                        }
                        else if (os.Version.Major == 6)
                        {
                            switch (os.Version.Minor)
                            {
                                case 0:
                                    Name = "Windows Vista";
                                    break;
                                case 1:
                                    Name = "Windows 7";
                                    break;
                            }
                        }
                    }
                    break;
                default:
                    break;
            }

            label1.Text = Name;
        }
        private void timer1_Tick(object sender, EventArgs e)
        {
            System.Drawing.Point pt = Control.MousePosition;
            label7.Text = "X 좌표 : " + pt.X.ToString() + " Y 좌표 : " + pt.Y.ToString();
        }
    }
}

Who's 코르뉴

?

10년차 쯔꾸르시리즈의 아웃사이더.

 제작 완성된 주요 게임들( 2003년 이전 게임들은 현재 자료가 남아있지도 기억도 잘 나지 않아서 생략)

The Knight Part 1 - 창조도시 게임자료실(2003)

The Knight Part 2 - 창조도시 완성작(2003)

The Knight Part 3 - 창조도시 완성작(2004)

The Knight Part 4 - 창조도시 완성작(2004)

The Knight Part 5 - 개인 보관 후 자료 소멸(2005)

Natural selection(아케이드) - 완성판 배포(2005)

Azure Moon (proto type) - 개인 보관 후 자료 소멸(2006)

Azure Moon : limitless addition - 체험판 배포, 완성판 개인 보관 후 자료 소멸(2006)

Stokesia(Azure Moon, proto type)  - 개인 보관 후 자료 소멸 (2007)

Stokesia(Azure Moon)  - 개인 보관 중(2008)

Natural selection(3D FPS Type) - 제작 중단 연구용 완성판 배포(2008)

코르뉴의 전설(proto type) - 체험판 배포, 개인 보관 중(2009)

 

Arcadia - 개인 제작, 테스팅 까지만 완료(2011)

TowerDefence - 개인 제작, 타워 디펜스 카페등에 알파버전까지만 수록(2011)

Avengers - 개인 제작, 일리히트 엔진 + Bullet엔진 사용, 알파 버전까지만 배포(2011)

 

연구과제

-Java 1.6

-mysql, php, flash 연동 웹게임

-Unity Engine with Flash

-Flixel Engine with Flash Builder

Comment '2'

List of Articles
분류 제목 글쓴이 날짜 조회 수
Vegas Pro 베가스 강좌 목록 아방스 2017.09.28 887
파이널컷X 파컷 강좌 목록 아방스 2017.06.18 759
에프터 이펙트 펜툴을 이용해서 키프레임 추가,삭제 및 수정방법 아방스 2011.12.08 5204
에프터 이펙트 애팩 키보드 단축키 (after effects cs5) 아방스 2011.12.15 5164
플러그인 초고속 카매라 같은 효과를 만드는 Twixtor 플러그인 아방스 2011.12.16 13333
플러그인 After effect cs 5.5 plugin 손떨림 보정 플러그인 Warp stabilize 아방스 2011.12.16 7312
XpressEngine 댓글 알림 기본 체크 하기. 아방스 2012.01.04 3395
C언어 정체불명의 프로그래밍 입문 2 정체불명 2012.01.18 1262
C언어 정체불명의 프로그래밍 입문 2 1 file 정체불명 2012.01.18 1290
C언어 정체불명의 프로그래밍 입문 main 함수작성 3 file 정체불명 2012.01.18 1721
C언어 정체불명의 프로그래밍입문 4 실행 디버깅 1 정체불명 2012.01.18 1684
C언어 정체불명의 프로그래밍 입문 중간체크 file 정체불명 2012.01.18 1611
C언어 c언어로 같은그림 찾기 만들기 -기획편 1 정체불명 2012.01.18 2708
C언어 같은 그림 찾기를 구현 1 정체불명 2012.01.19 2604
C언어 같은그림찾기 구현 2 초기화 정체불명 2012.01.19 2405
C언어 같은 그림 맞추기 구현 - 출력,입력 정체불명 2012.01.19 2171
C언어 같은 그림맞추기 구현 체크와 엔딩 정체불명 2012.01.19 2251
C언어 같은 그림맞추기 오타정정과 약간 수정한 최종 버전입니다. 3 file 정체불명 2012.01.19 2917
C언어 사각형 테두리 그리기를 연습해봐요 3 file 정체불명 2012.01.21 5701
C언어 한글자씩 출력하기 file 정체불명 2012.01.21 3730
C언어 소코반 따라하기 준비 1 파일에서 읽어와서 출력 정체불명 2012.01.21 2857
C언어 소코반 따라만들기 준비 파일읽어배열에담기 정체불명 2012.01.21 2990
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Next
/ 19