기타 강좌

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 893
파이널컷X 파컷 강좌 목록 아방스 2017.06.18 764
기타 게임제작에 실패하는이유는? 3 rlawnsahXP 2010.10.03 2314
기타 게임줄거리를 만들어볼까?!! 6 칼리아 2009.08.01 2522
기타 그래픽 드라이버 삭제 및 재설치 방법 1 아방스 2009.05.28 3099
그래픽1개를 다운받아서 2개로 사용방법 어두운동굴 2008.07.29 2442
기타 그림판으로 아이콘 만들기 4 검은별 2009.07.13 3396
기타 글쓸떄 본문에 이미지 삽입 하는법. 5 file 작은악마 2008.05.18 2665
기타 내가 생각해낸 방법 [SE-BAND] 7 비타스 2008.07.07 2435
C언어 네트워크 강좌[1]- 기본적인 버클리 소켓을 이용한 프로그래밍 Saber 2010.09.06 4013
XpressEngine 댓글 알림 기본 체크 하기. 아방스 2012.01.04 3395
기타 동영상 용량 100메가 이하로 줄이기 아방스 2010.11.04 2294
기타 동영상에서 원하는 부분만 잘리서 편집하기 아방스 2010.11.05 1986
C언어 락발라드 구구단~ file 정체불명 2009.05.02 2560
에프터 이펙트 레이져 총 효과 제작 Sci-Fi Weapon FX file 아방스 2014.07.23 1116
플래시 매우 쉽고 편리한 액션스크립트(추가중) 코르뉴 2012.08.06 2625
OSX (맥) 맥 OSX - 휴지통 비워지지 않는 파일 삭제하기. 아방스 2015.01.06 8031
OSX (맥) 맥 서버 MYSQL 오류 mysqldump: Got error: 145 해결법 아방스 2014.11.19 729
OSX (맥) 맥(Mac) smi <-> srt 파일 상호 변환 프로그램 다운로드(무료) 1 file 아방스 2016.07.16 2630
OSX (맥) 맥(OSX) 매버릭스,요세미티 에서 FTP 서버열기 3 file 아방스 2014.11.13 11514
기타 멋있는 영어 이름ㅇㅅㅇ/ 16 아방스 2008.05.22 10335
XpressEngine 무료 호스팅 계정 정보 (유료 포함) 3 아방스 2011.11.04 2118
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Next
/ 19