Hello World

  • 홈
  • 태그
  • 방명록

C# 인터넷 연결 여부 1

[C#]인터넷 연결 여부 예제

using System.Runtime.InteropServices; [DllImport("wininet.dll")] private extern static bool InternetGetConnectedState(out int Description, int ReservedValue); public static bool IsConnectedToInternet() { int Desc; return InternetGetConnectedState(out Desc, 0); } 반환값이 True면 해당 컴퓨터는 인터넷 연결된 겁니다.

C# 2016.10.28
이전
1
다음
더보기
프로필사진

Hello World

  • 분류 전체보기 (198)
    • C# (160)
    • ORACLE (23)
    • MSSQL (1)
    • 한옥집 리모델링 (12)

Tag

나바위성지, 익산시 망성면, C#, 귀농귀촌, WINDOWS MOBILE, 나바위성당, WIN CE.NET, PDA, 한옥철거, 한옥리모델링,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바