이 페이지에서

NetworkInformation QML Type

네트워크 관련 정보에 대한 크로스 플랫폼 인터페이스를 제공합니다. 더 보기...

Import Statement: import QtNetwork
Since: Qt 6.7
In C++: QNetworkInformation

속성

상세 설명

NetworkInformation은 네트워크 관련 정보에 대한 크로스 플랫폼 인터페이스를 제공합니다.

NetworkInformation은 싱글톤입니다.

QNetworkInformation도 참조하십시오 .

속성 설명

isBehindCaptivePortal : bool [read-only]

사용자의 기기가 현재 캡티브 포털 뒤에 있는 것으로 확인되었는지 여부를 나타냅니다.

isMetered : bool [read-only]

현재 연결이 (알려진 바에 따르면) 데이터 사용량 제한이 적용되는지 여부를 반환합니다.

reachability : enumeration [read-only]

시스템의 네트워크 연결 상태를 저장합니다.

상수설명
NetworkInformation.Reachability.Unknown연결이 설정되었을 수 있지만 OS에서 완전한 연결성을 아직 확인하지 못했거나, 이 기능이 지원되지 않을 수 있습니다.
NetworkInformation.Reachability.Disconnected시스템이 전혀 연결되어 있지 않을 수 있습니다.
NetworkInformation.Reachability.Local시스템이 네트워크에 연결되어 있지만, 로컬 네트워크에 있는 장치에만 액세스할 수 있을 수 있습니다.
NetworkInformation.Reachability.Site시스템이 네트워크에 연결되어 있지만, 로컬 서브넷이나 인트라넷에 있는 장치에만 액세스할 수 있을 수 있습니다.
NetworkInformation.Reachability.Online시스템이 네트워크에 연결되어 있으며 인터넷에 접속할 수 있습니다.

transportMedium : enumeration [read-only]

애플리케이션에 대해 현재 활성화된 전송 매체를 보관합니다.

상수설명
NetworkInformation.TransportMedium.UnknownOS가 활성 매체가 없다고 보고하거나, Qt에서 활성 매체를 인식하지 못하거나, TransportMedium 기능이 지원되지 않는 경우입니다.
NetworkInformation.TransportMedium.Ethernet현재 활성화된 연결은 이더넷을 사용하고 있습니다. 참고: Windows가 블루투스 개인 영역 네트워크에 연결된 경우에도 이 값이 반환될 수 있습니다.
NetworkInformation.TransportMedium.Cellular현재 활성화된 연결은 셀룰러 네트워크를 사용하고 있습니다.
NetworkInformation.TransportMedium.WiFi현재 활성화된 연결은 Wi-Fi를 사용하고 있습니다.
NetworkInformation.TransportMedium.Bluetooth현재 활성화된 연결은 블루투스를 통해 연결되어 있습니다.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.