[UWP] uwp应用程序 [英] [UWP]uwp application
问题描述
我想在使用UWP应用程序的笔记本电脑中检测是否启用了飞行模式。你们中的任何一个人都可以帮助我们找到实现这个目标的确切方法吗?
在冲浪时我得到了以下用于检测飞机模式的类和属性。但它不适用于Windows 10.
DeviceNetworkInformation.IsNetworkAvailable,DeviceNetworkInformation.IsCellularDataEnabled,DeviceNetworkInformation.IsCellularDataRoamingEnabled,DeviceNetworkInformation.IsWiFiEnabled
谢谢
您好 harshini12345 <跨度> <跨度> <跨度> <跨度> <跨度>,跨度> 跨度> 跨度> 跨度> 跨度> 跨度> 跨度> 跨度>
此论坛正在讨论Visual Studio WPF / SL Designer,Visual Studio Guidance Automation Toolkit,开发人员文档和帮助系统以及Visual Studio编辑器。
span> 您的问题与UWP开发有关,我会将此主题移至相应论坛以获得专业答案。
<跨度> <跨度> <跨度> <跨度> <跨度> <跨度> <跨度>此致跨度> 跨度> 跨度> 跨度> 跨度> 跨度>
跨度> <跨度>的奥斯卡跨度> 跨度> 跨度> 跨度> 跨度> 跨度> 跨度> 跨度> 跨度> 跨度>
Hi,
I want to detect whether airplane mode is enabled or not in Laptop using UWP application. Can any one of you please help us in finding out the exact method to achieve this ?
On surfing I got below class and property used to detect the airplane mode. but it is not working for windows 10.
DeviceNetworkInformation.IsNetworkAvailable, DeviceNetworkInformation.IsCellularDataEnabled, DeviceNetworkInformation.IsCellularDataRoamingEnabled, DeviceNetworkInformation.IsWiFiEnabled
Thanks
Hi harshini12345,
This forum is discussing Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
Your issue is related to UWP develop, I will move this thread to corresponding forum for a professional answer.
Sincerely,
Oscar
这篇关于[UWP] uwp应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!